Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 109.4 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 241.8 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2754/0.2754, allocations: 44.17 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 70.98 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003277/0.1237, allocations: 1.752 MB / 470.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1251, allocations: 0.8576 MB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.1252, allocations: 0 / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.1256, allocations: 43.83 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1258, allocations: 43.83 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.1261, allocations: 95.03 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.1263, allocations: 99.67 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1264, allocations: 4.234 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.024e-05/0.1265, allocations: 39.73 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.1266, allocations: 35.83 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1266, allocations: 4 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1267, allocations: 39.98 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.1268, allocations: 15.92 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.1268, allocations: 39.75 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1271, allocations: 107.9 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1271, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1271, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1271, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005324/0.1276, allocations: 419 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1277, allocations: 8.031 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.1277, allocations: 30.75 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.1278, allocations: 12.75 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.128, allocations: 212.1 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.128, allocations: 8.312 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1281, allocations: 7.938 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1282, allocations: 53.67 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1283, allocations: 3.938 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1283, allocations: 4 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1283, allocations: 4 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.446e-05/0.1284, allocations: 15.98 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.1287, allocations: 288.9 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1289, allocations: 58.61 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.129, allocations: 20.86 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.129, allocations: 0 / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.1292, allocations: 71.38 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1292, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005285/0.1297, allocations: 169.2 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.1298, allocations: 55.41 kB / 473.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.1299, allocations: 190.1 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.13, allocations: 25.7 kB / 473.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.13, allocations: 112.1 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.1301, allocations: 19.72 kB / 473.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1301, allocations: 25.7 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1302, allocations: 322.8 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.1303, allocations: 20 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.1304, allocations: 41.58 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1305, allocations: 61.77 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1305, allocations: 0 / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.1307, allocations: 113.4 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1307, allocations: 4 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1307, allocations: 4 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1307, allocations: 0 / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.1308, allocations: 12 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1308, allocations: 0 / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.1309, allocations: 11.92 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1309, allocations: 8 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.756e-05/0.131, allocations: 121.9 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.131, allocations: 11.84 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.1311, allocations: 16.7 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1311, allocations: 7.938 kB / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1311, allocations: 0 / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1311, allocations: 3.938 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.1315, allocations: 387.7 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1315, allocations: 4 kB / 474.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.1316, allocations: 12.03 kB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1316, allocations: 11.92 kB / 474.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1316, allocations: 0 / 474.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1316, allocations: 0 / 474.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1316, allocations: 4 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1318, allocations: 204.2 kB / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.1319, allocations: 81.02 kB / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.1319, allocations: 11.94 kB / 475 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.132, allocations: 11.92 kB / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.132, allocations: 4 kB / 475 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1321, allocations: 4 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1322, allocations: 143.2 kB / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1322, allocations: 0 / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1325, allocations: 24 kB / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/0.1339, allocations: 1.113 MB / 476.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.134, allocations: 51.92 kB / 476.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1341, allocations: 0 / 476.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.1341, allocations: 31.92 kB / 476.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.1345, allocations: 29.8 kB / 476.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.1361, allocations: 1.648 MB / 478.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.1364, allocations: 0.7083 MB / 478.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.1365, allocations: 17.19 kB / 478.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.1365, allocations: 31.42 kB / 478.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1365, allocations: 0 / 478.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.1554, allocations: 3.142 MB / 482 MB, free: 1.188 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/0.1557, allocations: 236.2 kB / 482.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.16, allocations: 0 / 482.2 MB, free: 0.9375 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches