Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00111/0.001111, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 173.3 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3528/0.3528, allocations: 43.55 MB / 314.5 MB, free: 8.762 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004477, allocations: 16 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 58.86 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.001828/0.1224, allocations: 1.38 MB / 444.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.124, allocations: 1.305 MB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.1241, allocations: 0 / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1244, allocations: 27.89 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1245, allocations: 59.77 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1248, allocations: 67.83 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1249, allocations: 63.86 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.125, allocations: 12.2 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.1251, allocations: 39.78 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1252, allocations: 27.86 kB / 445.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1252, allocations: 4 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.1253, allocations: 39.92 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.1254, allocations: 15.97 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.1254, allocations: 37.64 kB / 445.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1256, allocations: 92.08 kB / 445.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1256, allocations: 0 / 445.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1256, allocations: 0 / 445.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1256, allocations: 0 / 445.9 MB, free: 9.867 MB / 382.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.0005009/0.1261, allocations: 398.9 kB / 446.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1261, allocations: 8.031 kB / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1262, allocations: 11.91 kB / 446.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1264, allocations: 202.8 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1265, allocations: 7.938 kB / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1265, allocations: 7.984 kB / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1267, allocations: 63.39 kB / 446.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1267, allocations: 3.953 kB / 446.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1267, allocations: 4 kB / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1267, allocations: 0 / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.366e-05/0.1268, allocations: 19.98 kB / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.1272, allocations: 280.9 kB / 446.9 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1273, allocations: 58.67 kB / 447 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1274, allocations: 3.953 kB / 447 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.1276, allocations: 83.44 kB / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1276, allocations: 0 / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005064/0.1281, allocations: 169.1 kB / 447.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.1282, allocations: 77.11 kB / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1283, allocations: 154.1 kB / 447.4 MB, free: 8.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1283, allocations: 29.7 kB / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.1284, allocations: 92.14 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1284, allocations: 27.64 kB / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.1284, allocations: 4 kB / 447.6 MB, free: 7.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.1285, allocations: 322.8 kB / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.071e-05/0.1286, allocations: 20 kB / 447.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.1286, allocations: 38.56 kB / 448 MB, free: 7.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/0.1287, allocations: 27.94 kB / 448 MB, free: 7.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1287, allocations: 0 / 448 MB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001627/0.1289, allocations: 113.6 kB / 448.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1289, allocations: 4 kB / 448.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1289, allocations: 0 / 448.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1289, allocations: 3.938 kB / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.886e-05/0.129, allocations: 19.98 kB / 448.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1291, allocations: 0 / 448.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.1291, allocations: 3.938 kB / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1291, allocations: 8 kB / 448.1 MB, free: 7.41 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.1292, allocations: 133.8 kB / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.1293, allocations: 7.906 kB / 448.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.1293, allocations: 12.72 kB / 448.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1293, allocations: 0 / 448.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1293, allocations: 192 / 448.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1293, allocations: 0 / 448.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.1297, allocations: 395.2 kB / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1297, allocations: 0 / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.1298, allocations: 12.03 kB / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1298, allocations: 0 / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1298, allocations: 4 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1298, allocations: 0 / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1298, allocations: 0 / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.13, allocations: 221.8 kB / 448.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.1301, allocations: 93 kB / 449 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.1301, allocations: 4 kB / 449 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.1302, allocations: 7.984 kB / 449 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1302, allocations: 4 kB / 449 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.1303, allocations: 4.375 kB / 449 MB, free: 6.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.647e-05/0.1304, allocations: 119.2 kB / 449.1 MB, free: 6.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1304, allocations: 0 / 449.1 MB, free: 6.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1306, allocations: 35.98 kB / 449.2 MB, free: 6.27 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.1317, allocations: 0.4926 MB / 449.7 MB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.1319, allocations: 75.88 kB / 449.7 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1319, allocations: 0 / 449.7 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.116e-05/0.132, allocations: 23.94 kB / 449.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.1322, allocations: 23.97 kB / 449.8 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.1326, allocations: 206.2 kB / 450 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1328, allocations: 0.7004 MB / 450.7 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.1329, allocations: 12.88 kB / 450.7 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.133, allocations: 27.36 kB / 450.7 MB, free: 4.684 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.133, allocations: 0 / 450.7 MB, free: 4.684 MB / 382.1 MB Notification: Performance of Templates: time 0.004196/0.1372, allocations: 1.834 MB / 452.6 MB, free: 2.852 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches