Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 108.8 kB / 17.21 MB, free: 6.27 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.001185/0.001185, allocations: 194 kB / 18.12 MB, free: 5.363 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.455/1.455, allocations: 222.9 MB / 241.8 MB, free: 15.54 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.2434/0.2434, allocations: 44.17 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 62.75 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1395, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003611/0.1432, allocations: 1.717 MB / 470.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1446, allocations: 0.8497 MB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.1447, allocations: 4 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.145, allocations: 71.81 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1452, allocations: 75.73 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1455, allocations: 87.08 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.1457, allocations: 99.69 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.1457, allocations: 7.984 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.878e-05/0.1458, allocations: 47.78 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1459, allocations: 55.75 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.146, allocations: 0 / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.57e-05/0.1461, allocations: 35.98 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.1461, allocations: 23.91 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.1462, allocations: 27.75 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1464, allocations: 99.94 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1464, allocations: 0 / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1464, allocations: 0 / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1464, allocations: 3.938 kB / 471.7 MB, free: 11.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005977/0.147, allocations: 417.5 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1471, allocations: 12.03 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.1471, allocations: 16.78 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1474, allocations: 208.5 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1474, allocations: 384 / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1475, allocations: 4.125 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1476, allocations: 49.67 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1476, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1476, allocations: 4 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1477, allocations: 4 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.1477, allocations: 15.92 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.148, allocations: 185.7 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1481, allocations: 54.55 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.1482, allocations: 20.8 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.1482, allocations: 4 kB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.1484, allocations: 67.39 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.1484, allocations: 0 / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002917/0.1487, allocations: 101.5 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1488, allocations: 51.41 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.149, allocations: 211.5 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.149, allocations: 29.7 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.1491, allocations: 108.1 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.1491, allocations: 15.8 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.1492, allocations: 17.72 kB / 473.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1493, allocations: 326.8 kB / 473.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.1493, allocations: 15.98 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-05/0.1494, allocations: 25.7 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.312e-05/0.1495, allocations: 49.66 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1495, allocations: 0 / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001455/0.1497, allocations: 81.83 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1497, allocations: 4 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1497, allocations: 4 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1497, allocations: 3.938 kB / 473.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.1498, allocations: 12 kB / 473.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1498, allocations: 0 / 473.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.1499, allocations: 19.86 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1499, allocations: 0 / 473.8 MB, free: 9.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 (7): * Single equations (assignments): 7 * 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.0001123/0.15, allocations: 132.6 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.15, allocations: 11.89 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.1501, allocations: 17 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1501, allocations: 0 / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1501, allocations: 7.922 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1501, allocations: 0 / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1502, allocations: 189.6 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1503, allocations: 0 / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.1503, allocations: 8 kB / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1503, allocations: 3.938 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.1503, allocations: 4 kB / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1503, allocations: 0 / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1503, allocations: 3.938 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1506, allocations: 112.9 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.1506, allocations: 85.02 kB / 474.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.1507, allocations: 0 / 474.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.1507, allocations: 11.98 kB / 474.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.1508, allocations: 0 / 474.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1508, allocations: 4 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.151, allocations: 159.2 kB / 474.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.151, allocations: 0 / 474.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.1512, allocations: 15.98 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.1522, allocations: 399.7 kB / 475 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.1524, allocations: 43.92 kB / 475 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1524, allocations: 0 / 475 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.1525, allocations: 23.97 kB / 475 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1527, allocations: 30.11 kB / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.1532, allocations: 251.9 kB / 475.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.1535, allocations: 0.7043 MB / 476 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.1536, allocations: 8.547 kB / 476 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.1536, allocations: 19.42 kB / 476 MB, free: 7.094 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1536, allocations: 0 / 476 MB, free: 7.094 MB / 350.1 MB Notification: Performance of Templates: time 0.003931/0.1575, allocations: 1.435 MB / 477.5 MB, free: 5.676 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches