Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 108.3 kB / 17.21 MB, free: 6.293 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.00127/0.00127, allocations: 194 kB / 18.12 MB, free: 5.383 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.507/1.507, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.2191/0.2191, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 407.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1366, allocations: 60.81 MB / 468.5 MB, free: 3.004 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003541/0.1402, allocations: 1.854 MB / 470.4 MB, free: 1.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1417, allocations: 0.9395 MB / 471.3 MB, free: 192 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.1418, allocations: 11.88 kB / 471.3 MB, free: 180 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.1423, allocations: 295.4 kB / 471.6 MB, free: 15.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.1426, allocations: 199.5 kB / 471.8 MB, free: 15.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.143, allocations: 151.5 kB / 472 MB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.1433, allocations: 231.4 kB / 472.2 MB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.1434, allocations: 9.562 kB / 472.2 MB, free: 15.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.1435, allocations: 119.6 kB / 472.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1438, allocations: 195.4 kB / 472.5 MB, free: 15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.1438, allocations: 4 kB / 472.5 MB, free: 15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1439, allocations: 39.98 kB / 472.5 MB, free: 14.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.1441, allocations: 135.6 kB / 472.7 MB, free: 14.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1442, allocations: 150.7 kB / 472.8 MB, free: 14.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.1446, allocations: 355 kB / 473.2 MB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1446, allocations: 0 / 473.2 MB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1446, allocations: 0 / 473.2 MB, free: 14.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1446, allocations: 8 kB / 473.2 MB, free: 14.32 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008708/0.1455, allocations: 0.7191 MB / 473.9 MB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1456, allocations: 8.031 kB / 473.9 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.608e-05/0.1457, allocations: 48.38 kB / 474 MB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.1462, allocations: 451.7 kB / 474.4 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1462, allocations: 4.375 kB / 474.4 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.1462, allocations: 8.109 kB / 474.4 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1464, allocations: 83.38 kB / 474.5 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1464, allocations: 4 kB / 474.5 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.1464, allocations: 0 / 474.5 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1465, allocations: 7.938 kB / 474.5 MB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1466, allocations: 35.91 kB / 474.5 MB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.147, allocations: 374.4 kB / 474.9 MB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.1472, allocations: 105.2 kB / 475 MB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.328e-05/0.1473, allocations: 41.64 kB / 475 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.1474, allocations: 7.984 kB / 475.1 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002908/0.1477, allocations: 116.9 kB / 475.2 MB, free: 12.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1477, allocations: 0 / 475.2 MB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004715/0.1482, allocations: 193 kB / 475.4 MB, free: 11.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.1482, allocations: 81.05 kB / 475.4 MB, free: 11.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.1493, allocations: 1.034 MB / 476.5 MB, free: 10.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.1493, allocations: 29.7 kB / 476.5 MB, free: 10.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1495, allocations: 236.1 kB / 476.7 MB, free: 10.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.1496, allocations: 31.64 kB / 476.8 MB, free: 10.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.1496, allocations: 25.72 kB / 476.8 MB, free: 10.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1498, allocations: 366.8 kB / 477.1 MB, free: 10.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/0.1499, allocations: 31.97 kB / 477.2 MB, free: 10.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.15, allocations: 55.42 kB / 477.2 MB, free: 10 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.1502, allocations: 95.34 kB / 477.3 MB, free: 9.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1502, allocations: 0 / 477.3 MB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003021/0.1505, allocations: 165.4 kB / 477.5 MB, free: 9.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1505, allocations: 8 kB / 477.5 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.1505, allocations: 128 / 477.5 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1506, allocations: 4.062 kB / 477.5 MB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1507, allocations: 31.92 kB / 477.5 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1507, allocations: 0 / 477.5 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-05/0.1508, allocations: 11.91 kB / 477.5 MB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1508, allocations: 7.984 kB / 477.5 MB, free: 9.668 MB / 398.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002116/0.151, allocations: 222.2 kB / 477.8 MB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.1511, allocations: 51.44 kB / 477.8 MB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.694e-05/0.1512, allocations: 59.94 kB / 477.9 MB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1512, allocations: 11.98 kB / 477.9 MB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1512, allocations: 0 / 477.9 MB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1512, allocations: 0 / 477.9 MB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.1516, allocations: 345.3 kB / 478.2 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1516, allocations: 0 / 478.2 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.1516, allocations: 19.91 kB / 478.2 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1516, allocations: 0 / 478.2 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1516, allocations: 4 kB / 478.2 MB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1516, allocations: 0 / 478.2 MB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1517, allocations: 0 / 478.2 MB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.152, allocations: 213.2 kB / 478.5 MB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1521, allocations: 136.4 kB / 478.6 MB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.1522, allocations: 4 kB / 478.6 MB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.1523, allocations: 0 / 478.6 MB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.1523, allocations: 15.98 kB / 478.6 MB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.1523, allocations: 4 kB / 478.6 MB, free: 8.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008289/0.1532, allocations: 0.7721 MB / 479.4 MB, free: 7.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1532, allocations: 0 / 479.4 MB, free: 7.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1534, allocations: 40 kB / 479.4 MB, free: 7.691 MB / 398.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009724/0.1544, allocations: 413.6 kB / 479.8 MB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.1547, allocations: 87.83 kB / 479.9 MB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1547, allocations: 0 / 479.9 MB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1548, allocations: 44.11 kB / 480 MB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.1553, allocations: 74.02 kB / 480 MB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1565, allocations: 0.9543 MB / 481 MB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.157, allocations: 0.8391 MB / 481.8 MB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.1571, allocations: 51.45 kB / 481.9 MB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.1572, allocations: 31.42 kB / 481.9 MB, free: 5.305 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1572, allocations: 4 kB / 481.9 MB, free: 5.301 MB / 398.1 MB Notification: Performance of Templates: time 0.009292/0.1665, allocations: 3.563 MB / 485.5 MB, free: 1.762 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches