Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 109 kB / 17.21 MB, free: 6.289 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.001215/0.001214, 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.476/1.476, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2167/0.2167, allocations: 44.18 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 66.08 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.131, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003665/0.1347, allocations: 1.839 MB / 470.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1364, allocations: 0.955 MB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1365, allocations: 0 / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.1371, allocations: 295.4 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.1375, allocations: 203.5 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.138, allocations: 155.1 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.1383, allocations: 235.3 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.03e-05/0.1384, allocations: 13.55 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1386, allocations: 115.6 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.1389, allocations: 187.5 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.1389, allocations: 4 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.139, allocations: 43.98 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.1392, allocations: 131.6 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.1393, allocations: 146.8 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.1397, allocations: 355 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1397, allocations: 4 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1397, allocations: 0 / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1397, allocations: 3.938 kB / 473.2 MB, free: 10.18 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009518/0.1407, allocations: 0.7269 MB / 473.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1407, allocations: 12.03 kB / 473.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.1408, allocations: 48.28 kB / 474 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.1413, allocations: 443.9 kB / 474.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1413, allocations: 4.375 kB / 474.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1414, allocations: 16.11 kB / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1416, allocations: 87.3 kB / 474.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.1416, allocations: 3.938 kB / 474.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1416, allocations: 0 / 474.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1416, allocations: 0 / 474.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1417, allocations: 31.97 kB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.1421, allocations: 378.4 kB / 474.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1424, allocations: 101.2 kB / 475 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.271e-05/0.1425, allocations: 41.64 kB / 475 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1425, allocations: 11.98 kB / 475.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.1428, allocations: 108.9 kB / 475.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1428, allocations: 0 / 475.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004647/0.1433, allocations: 193 kB / 475.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1433, allocations: 77.11 kB / 475.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.1444, allocations: 1.038 MB / 476.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.1445, allocations: 29.7 kB / 476.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.1446, allocations: 236.1 kB / 476.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.1447, allocations: 35.53 kB / 476.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.1448, allocations: 25.72 kB / 476.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1449, allocations: 366.8 kB / 477.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.832e-05/0.145, allocations: 31.97 kB / 477.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.804e-05/0.1451, allocations: 55.42 kB / 477.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1453, allocations: 95.84 kB / 477.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1453, allocations: 0 / 477.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003058/0.1456, allocations: 173 kB / 477.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1457, allocations: 4 kB / 477.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1457, allocations: 0 / 477.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1457, allocations: 4 kB / 477.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.1459, allocations: 19.98 kB / 477.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1459, allocations: 0 / 477.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.146, allocations: 23.83 kB / 477.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.146, allocations: 4 kB / 477.5 MB, free: 5.52 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.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.0002295/0.1462, allocations: 222.1 kB / 477.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.1463, allocations: 63.33 kB / 477.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.77e-05/0.1464, allocations: 63.98 kB / 477.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1464, allocations: 0 / 477.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1464, allocations: 0 / 477.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1464, allocations: 4 kB / 477.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.1468, allocations: 337.3 kB / 478.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1468, allocations: 0 / 478.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.1468, allocations: 11.98 kB / 478.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1468, allocations: 0 / 478.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1468, allocations: 4 kB / 478.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1468, allocations: 0 / 478.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1468, allocations: 4 kB / 478.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.1472, allocations: 209.2 kB / 478.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.1473, allocations: 132.7 kB / 478.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.1474, allocations: 8 kB / 478.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.1475, allocations: 4 kB / 478.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1475, allocations: 15.98 kB / 478.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.1475, allocations: 4 kB / 478.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007934/0.1483, allocations: 0.776 MB / 479.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1484, allocations: 0 / 479.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1486, allocations: 40 kB / 479.4 MB, free: 3.543 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: 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.0009433/0.1496, allocations: 407.2 kB / 479.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.1499, allocations: 87.95 kB / 479.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.1499, allocations: 3.938 kB / 479.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.15, allocations: 44.3 kB / 480 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.1504, allocations: 74.27 kB / 480 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1516, allocations: 0.9504 MB / 481 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.1521, allocations: 0.8391 MB / 481.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.1522, allocations: 62.94 kB / 481.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.1523, allocations: 27.42 kB / 481.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1523, allocations: 0 / 481.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of Templates: time 0.008278/0.1606, allocations: 3.568 MB / 485.5 MB, free: 13.61 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches