Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001033, allocations: 93.55 kB / 18 MB, free: 5.602 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.00129/0.00129, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.372/1.372, allocations: 223.3 MB / 243 MB, free: 14.28 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.2177/0.2177, allocations: 44.24 MB / 338.3 MB, free: 2.477 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 13.12 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002284/0.1237, allocations: 1.413 MB / 474.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.126, allocations: 1.436 MB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.1261, allocations: 3.938 kB / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1265, allocations: 35.91 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1267, allocations: 47.83 kB / 475.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1271, allocations: 91.77 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.1273, allocations: 95.69 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1274, allocations: 8.234 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1275, allocations: 39.78 kB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1277, allocations: 31.84 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.1277, allocations: 7.938 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.1279, allocations: 59.95 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.128, allocations: 15.92 kB / 476.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.1281, allocations: 53.52 kB / 476.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1283, allocations: 92.08 kB / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1283, allocations: 0 / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1283, allocations: 0 / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1283, allocations: 7.938 kB / 476.4 MB, free: 9.836 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.0005453/0.1289, allocations: 383.3 kB / 476.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1289, allocations: 8.031 kB / 476.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.129, allocations: 16.75 kB / 476.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.1292, allocations: 210.9 kB / 477 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1292, allocations: 384 / 477 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.1293, allocations: 12.12 kB / 477 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1295, allocations: 67.39 kB / 477 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1295, allocations: 0 / 477 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1295, allocations: 3.984 kB / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1295, allocations: 4 kB / 477 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.1296, allocations: 19.92 kB / 477.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.13, allocations: 280.8 kB / 477.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1301, allocations: 62.67 kB / 477.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.1302, allocations: 20.84 kB / 477.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1302, allocations: 0 / 477.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.1304, allocations: 71.33 kB / 477.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1304, allocations: 0 / 477.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005358/0.131, allocations: 177.2 kB / 477.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1311, allocations: 77.11 kB / 477.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1312, allocations: 145.8 kB / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1312, allocations: 29.7 kB / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.1313, allocations: 96.12 kB / 478 MB, free: 7.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.1313, allocations: 27.64 kB / 478 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.1314, allocations: 17.72 kB / 478 MB, free: 7.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1315, allocations: 322.8 kB / 478.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.1315, allocations: 20 kB / 478.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.1316, allocations: 42.56 kB / 478.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1318, allocations: 65.62 kB / 478.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1318, allocations: 0 / 478.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.132, allocations: 93.58 kB / 478.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.132, allocations: 8 kB / 478.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.132, allocations: 4.062 kB / 478.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.132, allocations: 0 / 478.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.1321, allocations: 20.31 kB / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1322, allocations: 4 kB / 478.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.1322, allocations: 12.05 kB / 478.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1322, allocations: 8 kB / 478.6 MB, free: 7.305 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 0.0001073/0.1324, allocations: 121.8 kB / 478.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.1324, allocations: 11.91 kB / 478.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.1324, allocations: 20.7 kB / 478.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1325, allocations: 3.984 kB / 478.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1325, allocations: 0 / 478.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1325, allocations: 3.938 kB / 478.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.1329, allocations: 391.4 kB / 479.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1329, allocations: 0 / 479.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.133, allocations: 8 kB / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.133, allocations: 3.984 kB / 479.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.133, allocations: 19.91 kB / 479.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.133, allocations: 0 / 479.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.133, allocations: 0 / 479.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1332, allocations: 192.3 kB / 479.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.1333, allocations: 93 kB / 479.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1333, allocations: 3.938 kB / 479.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.1334, allocations: 4 kB / 479.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.1335, allocations: 15.98 kB / 479.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1335, allocations: 4 kB / 479.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.525e-05/0.1336, allocations: 117.5 kB / 479.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1336, allocations: 0 / 479.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1339, allocations: 31.94 kB / 479.7 MB, free: 6.172 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.001197/0.1351, allocations: 0.5004 MB / 480.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.1353, allocations: 51.98 kB / 480.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1353, allocations: 4.062 kB / 480.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.882e-05/0.1354, allocations: 35.92 kB / 480.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1358, allocations: 20.3 kB / 480.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.1362, allocations: 251.6 kB / 480.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1365, allocations: 0.6926 MB / 481.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.1365, allocations: 19.42 kB / 481.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1366, allocations: 3.938 kB / 481.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of Templates: time 0.00426/0.1408, allocations: 2.036 MB / 483.3 MB, free: 2.707 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches