Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008563/0.0008567, allocations: 99.09 kB / 18.01 MB, free: 5.734 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.0009726/0.0009727, allocations: 178.2 kB / 18.91 MB, free: 4.871 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.401/1.401, allocations: 223.3 MB / 243 MB, free: 96 kB / 190.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.25 MB / 338.3 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 9.031 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1156, allocations: 61.91 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002524/0.1182, allocations: 1.596 MB / 474.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.12, allocations: 0.9551 MB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1202, allocations: 0 / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.1207, allocations: 219.5 kB / 475.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.121, allocations: 143.6 kB / 475.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.1215, allocations: 170.4 kB / 476 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.1218, allocations: 223.3 kB / 476.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1219, allocations: 29.66 kB / 476.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1221, allocations: 107.5 kB / 476.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1223, allocations: 143.5 kB / 476.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.1224, allocations: 4 kB / 476.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1225, allocations: 55.98 kB / 476.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.139e-05/0.1226, allocations: 59.81 kB / 476.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.57e-05/0.1227, allocations: 117 kB / 476.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1229, allocations: 163.9 kB / 476.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.123, allocations: 0 / 476.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.123, allocations: 4 kB / 476.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.964e-06/0.123, allocations: 0 / 476.9 MB, free: 9.375 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006609/0.1236, allocations: 0.5138 MB / 477.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1237, allocations: 12.03 kB / 477.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.1238, allocations: 32.59 kB / 477.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.1241, allocations: 276.1 kB / 477.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1241, allocations: 16.3 kB / 477.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1242, allocations: 12.03 kB / 477.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.1244, allocations: 107.3 kB / 477.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1244, allocations: 0 / 477.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1244, allocations: 0 / 477.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1244, allocations: 4 kB / 477.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1246, allocations: 55.89 kB / 477.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.1251, allocations: 472.7 kB / 478.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.1255, allocations: 129.2 kB / 478.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1256, allocations: 37.83 kB / 478.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1256, allocations: 4 kB / 478.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.1259, allocations: 125 kB / 478.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.1259, allocations: 0 / 478.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001324/0.1272, allocations: 0.4891 MB / 479.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.1273, allocations: 81.11 kB / 479.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.1278, allocations: 432.5 kB / 479.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1278, allocations: 29.7 kB / 479.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1279, allocations: 160.5 kB / 479.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.128, allocations: 67.09 kB / 479.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.128, allocations: 25.7 kB / 479.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1282, allocations: 342.8 kB / 480.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1283, allocations: 59.97 kB / 480.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1284, allocations: 87.34 kB / 480.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.1287, allocations: 159.3 kB / 480.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1287, allocations: 0 / 480.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003856/0.1291, allocations: 225.2 kB / 480.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1291, allocations: 18.53 kB / 480.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1292, allocations: 4 kB / 480.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1292, allocations: 4.062 kB / 480.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1293, allocations: 51.91 kB / 480.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1293, allocations: 4 kB / 480.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/0.1294, allocations: 11.94 kB / 480.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.1294, allocations: 8 kB / 480.9 MB, free: 5.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002033/0.1297, allocations: 166.3 kB / 481 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.1297, allocations: 35.56 kB / 481.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.389e-05/0.1298, allocations: 46.84 kB / 481.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1298, allocations: 8 kB / 481.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1298, allocations: 0 / 481.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1298, allocations: 3.984 kB / 481.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009477/0.1308, allocations: 0.7311 MB / 481.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1308, allocations: 0 / 481.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.173e-05/0.1309, allocations: 31.92 kB / 481.9 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1309, allocations: 4 kB / 481.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.1309, allocations: 11.98 kB / 481.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1309, allocations: 3.984 kB / 481.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1309, allocations: 4 kB / 481.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.1314, allocations: 419.2 kB / 482.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.1315, allocations: 112.7 kB / 482.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.1315, allocations: 8 kB / 482.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1317, allocations: 7.984 kB / 482.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.1317, allocations: 23.92 kB / 482.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.1318, allocations: 11.98 kB / 482.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003411/0.1321, allocations: 319 kB / 482.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1321, allocations: 0 / 482.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.1325, allocations: 51.98 kB / 482.8 MB, free: 3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001162/0.1336, allocations: 0.5107 MB / 483.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.134, allocations: 160 kB / 483.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.134, allocations: 4 kB / 483.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.1342, allocations: 75.84 kB / 483.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.1348, allocations: 61.2 kB / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.1359, allocations: 0.6582 MB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.1362, allocations: 0.7794 MB / 485.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.1363, allocations: 27.42 kB / 485.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1363, allocations: 0 / 485.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of Templates: time 0.005998/0.1423, allocations: 3.613 MB / 488.7 MB, free: 13.27 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time