Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.001447/0.001447, allocations: 107.2 kB / 17.2 MB, free: 6.289 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.001421/0.001422, allocations: 194 kB / 18.12 MB, free: 5.383 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.492/1.492, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.251/0.251, allocations: 44.18 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 63.91 kB / 407.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1186, allocations: 60.82 MB / 468.6 MB, free: 2.906 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003319/0.1219, allocations: 1.765 MB / 470.4 MB, free: 1.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1234, allocations: 0.8574 MB / 471.3 MB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1235, allocations: 0 / 471.3 MB, free: 268 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.1239, allocations: 39.83 kB / 471.3 MB, free: 228 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.1242, allocations: 51.83 kB / 471.3 MB, free: 176 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.1246, allocations: 91.81 kB / 471.4 MB, free: 84 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.1248, allocations: 91.78 kB / 471.5 MB, free: 15.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.125, allocations: 12.22 kB / 471.5 MB, free: 15.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1251, allocations: 47.72 kB / 471.6 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.1252, allocations: 31.77 kB / 471.6 MB, free: 15.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1252, allocations: 4 kB / 471.6 MB, free: 15.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1253, allocations: 39.98 kB / 471.7 MB, free: 15.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.1254, allocations: 19.91 kB / 471.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.1255, allocations: 35.73 kB / 471.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1257, allocations: 111.9 kB / 471.8 MB, free: 15.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1257, allocations: 3.938 kB / 471.8 MB, free: 15.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1257, allocations: 0 / 471.8 MB, free: 15.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1257, allocations: 0 / 471.8 MB, free: 15.69 MB / 398.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.0005479/0.1262, allocations: 419 kB / 472.2 MB, free: 15.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1263, allocations: 12.02 kB / 472.2 MB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1263, allocations: 34.75 kB / 472.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.1264, allocations: 12.75 kB / 472.3 MB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.1266, allocations: 208.8 kB / 472.5 MB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1267, allocations: 8.375 kB / 472.5 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.1267, allocations: 7.938 kB / 472.5 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1268, allocations: 53.61 kB / 472.6 MB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1269, allocations: 4 kB / 472.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1269, allocations: 8 kB / 472.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1269, allocations: 0 / 472.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.354e-05/0.127, allocations: 15.98 kB / 472.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.1274, allocations: 288.9 kB / 472.9 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1276, allocations: 62.61 kB / 472.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.1276, allocations: 20.86 kB / 473 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1276, allocations: 0 / 473 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.1279, allocations: 67.39 kB / 473 MB, free: 14.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1279, allocations: 0 / 473 MB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005994/0.1285, allocations: 181.1 kB / 473.2 MB, free: 14.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1285, allocations: 55.34 kB / 473.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1287, allocations: 207.2 kB / 473.5 MB, free: 13.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1288, allocations: 29.7 kB / 473.5 MB, free: 13.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.1288, allocations: 100.1 kB / 473.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.1289, allocations: 23.7 kB / 473.6 MB, free: 13.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.1289, allocations: 25.72 kB / 473.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.129, allocations: 322.8 kB / 473.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.1291, allocations: 19.98 kB / 474 MB, free: 13.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.816e-05/0.1292, allocations: 45.64 kB / 474 MB, free: 13.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1293, allocations: 53.7 kB / 474.1 MB, free: 13.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1293, allocations: 0 / 474.1 MB, free: 13.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002833/0.1296, allocations: 105.5 kB / 474.2 MB, free: 13.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1296, allocations: 4 kB / 474.2 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1296, allocations: 0 / 474.2 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1297, allocations: 0 / 474.2 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.916e-05/0.1298, allocations: 27.95 kB / 474.2 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1298, allocations: 0 / 474.2 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.1298, allocations: 7.938 kB / 474.2 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1298, allocations: 384 / 474.2 MB, free: 13.06 MB / 398.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 0.0001032/0.13, allocations: 137.7 kB / 474.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.13, allocations: 11.81 kB / 474.4 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.13, allocations: 13.41 kB / 474.4 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.13, allocations: 4 kB / 474.4 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1301, allocations: 4 kB / 474.4 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1301, allocations: 11.92 kB / 474.4 MB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.1305, allocations: 391.3 kB / 474.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1305, allocations: 0 / 474.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.1305, allocations: 8 kB / 474.8 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1306, allocations: 3.938 kB / 474.8 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1306, allocations: 4 kB / 474.8 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1306, allocations: 0 / 474.8 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1306, allocations: 3.984 kB / 474.8 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1308, allocations: 208.2 kB / 475 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.1309, allocations: 88.92 kB / 475.1 MB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1309, allocations: 7.938 kB / 475.1 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.131, allocations: 4 kB / 475.1 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.131, allocations: 8.172 kB / 475.1 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1311, allocations: 0 / 475.1 MB, free: 12.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1312, allocations: 164.8 kB / 475.3 MB, free: 11.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1312, allocations: 0 / 475.3 MB, free: 11.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1315, allocations: 20 kB / 475.3 MB, free: 11.88 MB / 398.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.001458/0.1329, allocations: 1.101 MB / 476.4 MB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.1331, allocations: 55.98 kB / 476.4 MB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1331, allocations: 0 / 476.4 MB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.501e-05/0.1332, allocations: 32.05 kB / 476.5 MB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1336, allocations: 37.66 kB / 476.5 MB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1353, allocations: 1.669 MB / 478.2 MB, free: 9.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1356, allocations: 0.7004 MB / 478.9 MB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.659e-05/0.1356, allocations: 13.19 kB / 478.9 MB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.1357, allocations: 35.42 kB / 478.9 MB, free: 8.281 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1357, allocations: 4 kB / 478.9 MB, free: 8.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.1489, allocations: 3.192 MB / 482.1 MB, free: 5.191 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/0.1492, allocations: 234.8 kB / 482.3 MB, free: 4.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/1.983, allocations: 0 / 482.3 MB, free: 4.938 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches