Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 100 kB / 17.63 MB, free: 5.52 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.001312/0.001312, allocations: 192.1 kB / 18.56 MB, free: 4.598 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.466/1.466, allocations: 222.9 MB / 242.3 MB, free: 15.25 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.2411/0.2411, allocations: 44.19 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 64.22 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1182, allocations: 60.82 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003182/0.1214, allocations: 1.7 MB / 471 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1229, allocations: 0.873 MB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/0.123, allocations: 0 / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.1233, allocations: 43.77 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.1235, allocations: 51.77 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.1238, allocations: 122.3 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.124, allocations: 91.7 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1241, allocations: 8.234 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.1242, allocations: 39.8 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.1243, allocations: 35.77 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1243, allocations: 8 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.884e-05/0.1244, allocations: 36 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.1245, allocations: 19.92 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.1245, allocations: 31.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1247, allocations: 115.9 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1247, allocations: 0 / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1247, allocations: 3.938 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1247, allocations: 0 / 472.4 MB, free: 11.2 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.0005551/0.1253, allocations: 406.9 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1254, allocations: 16.03 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.1254, allocations: 8.844 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.1257, allocations: 200.2 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1257, allocations: 4.375 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1257, allocations: 4.125 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1259, allocations: 53.67 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1259, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1259, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1259, allocations: 4 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.126, allocations: 19.92 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.1264, allocations: 288.8 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.1266, allocations: 58.67 kB / 473.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.1266, allocations: 16.86 kB / 473.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1267, allocations: 4 kB / 473.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.1269, allocations: 79.3 kB / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1269, allocations: 0 / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005292/0.1274, allocations: 165.5 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.1275, allocations: 51.41 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1276, allocations: 179.5 kB / 474 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.1277, allocations: 29.7 kB / 474 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.1277, allocations: 100.1 kB / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.1278, allocations: 27.64 kB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.1278, allocations: 21.72 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1279, allocations: 326.8 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.128, allocations: 19.98 kB / 474.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.1281, allocations: 37.7 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1282, allocations: 69.77 kB / 474.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1282, allocations: 0 / 474.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001934/0.1284, allocations: 105.5 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1284, allocations: 4 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1284, allocations: 3.938 kB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1284, allocations: 0 / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.1285, allocations: 23.92 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.1286, allocations: 192 / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.1286, allocations: 7.938 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1286, allocations: 7.969 kB / 474.7 MB, free: 8.676 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.0001094/0.1287, allocations: 125.8 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.1288, allocations: 7.906 kB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.1288, allocations: 20.7 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1288, allocations: 0 / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1288, allocations: 0 / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1288, allocations: 7.922 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.1293, allocations: 391.3 kB / 475.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1293, allocations: 4 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.1293, allocations: 4 kB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.1293, allocations: 4 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1293, allocations: 7.875 kB / 475.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1293, allocations: 0 / 475.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1294, allocations: 4 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1296, allocations: 200.2 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.1296, allocations: 89 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1297, allocations: 7.938 kB / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/0.1297, allocations: 0 / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1298, allocations: 11.98 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1298, allocations: 4 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1299, allocations: 131.1 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1299, allocations: 0 / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1302, allocations: 27.98 kB / 475.7 MB, free: 7.539 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.001038/0.1312, allocations: 470.4 kB / 476.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.1314, allocations: 59.91 kB / 476.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1314, allocations: 4.062 kB / 476.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-05/0.1315, allocations: 31.92 kB / 476.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.1318, allocations: 27.97 kB / 476.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.1323, allocations: 222.8 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1326, allocations: 0.7002 MB / 477.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.826e-05/0.1327, allocations: 8.891 kB / 477.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.1327, allocations: 19.42 kB / 477.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1327, allocations: 0 / 477.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of Templates: time 0.004347/0.1371, allocations: 1.706 MB / 479 MB, free: 4.449 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches