Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001144, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001151/0.001151, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.44 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.2156/0.2156, allocations: 44.18 MB / 336.8 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 60.66 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1153, allocations: 60.84 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003444/0.1188, allocations: 1.769 MB / 471 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1209, allocations: 1.44 MB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-05/0.121, allocations: 7.938 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.1213, allocations: 35.84 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1216, allocations: 51.77 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1219, allocations: 91.83 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1221, allocations: 91.75 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.1222, allocations: 4.234 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.1223, allocations: 47.72 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1224, allocations: 35.84 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1225, allocations: 0 / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1226, allocations: 63.89 kB / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.1227, allocations: 15.98 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.1227, allocations: 27.81 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1229, allocations: 99.97 kB / 473 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1229, allocations: 0 / 473 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1229, allocations: 0 / 473 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1229, allocations: 0 / 473 MB, free: 11.03 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.0005266/0.1235, allocations: 399.2 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1235, allocations: 8.031 kB / 473.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.1236, allocations: 8.844 kB / 473.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1238, allocations: 204.1 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1238, allocations: 12.38 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1239, allocations: 8.109 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.124, allocations: 71.33 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1241, allocations: 0 / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1241, allocations: 0 / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1241, allocations: 0 / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.1242, allocations: 19.98 kB / 473.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.1246, allocations: 288.8 kB / 474 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1248, allocations: 62.61 kB / 474 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.1248, allocations: 20.84 kB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1248, allocations: 0 / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.1251, allocations: 71.39 kB / 474.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1251, allocations: 0 / 474.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005639/0.1256, allocations: 173.3 kB / 474.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.1257, allocations: 81.11 kB / 474.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.1259, allocations: 152.2 kB / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1259, allocations: 25.7 kB / 474.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.126, allocations: 96.12 kB / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.126, allocations: 19.72 kB / 474.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.1261, allocations: 29.7 kB / 474.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1262, allocations: 326.8 kB / 475 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.1263, allocations: 16.19 kB / 475 MB, free: 8.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.501e-05/0.1264, allocations: 54.44 kB / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1265, allocations: 61.69 kB / 475.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1265, allocations: 4.031 kB / 475.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001859/0.1267, allocations: 97.52 kB / 475.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1267, allocations: 8 kB / 475.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1267, allocations: 0 / 475.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1267, allocations: 0 / 475.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.1268, allocations: 16 kB / 475.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1269, allocations: 4 kB / 475.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.1269, allocations: 11.86 kB / 475.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1269, allocations: 4 kB / 475.3 MB, free: 8.477 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.0001026/0.127, allocations: 125.8 kB / 475.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1271, allocations: 11.91 kB / 475.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.1271, allocations: 12.7 kB / 475.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1271, allocations: 4 kB / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1271, allocations: 0 / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1272, allocations: 3.938 kB / 475.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.1276, allocations: 383.3 kB / 475.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1276, allocations: 4.031 kB / 475.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.1277, allocations: 8 kB / 475.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1277, allocations: 3.984 kB / 475.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1277, allocations: 15.88 kB / 475.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1277, allocations: 0 / 475.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1277, allocations: 0 / 475.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.128, allocations: 204.1 kB / 476 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.128, allocations: 85.02 kB / 476.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.1281, allocations: 7.938 kB / 476.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.1281, allocations: 7.984 kB / 476.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.1282, allocations: 4 kB / 476.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1282, allocations: 0 / 476.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1283, allocations: 121.8 kB / 476.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1283, allocations: 0 / 476.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1286, allocations: 35.98 kB / 476.3 MB, free: 7.352 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.001129/0.1297, allocations: 0.5072 MB / 476.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.13, allocations: 63.91 kB / 476.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.13, allocations: 0 / 476.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.1301, allocations: 27.92 kB / 476.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.1304, allocations: 27.98 kB / 476.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.1309, allocations: 234.4 kB / 477.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1312, allocations: 0.6965 MB / 477.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.1312, allocations: 23.42 kB / 477.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1312, allocations: 0 / 477.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of Templates: time 0.00402/0.1353, allocations: 2.041 MB / 479.9 MB, free: 3.879 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches