Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001584/0.001584, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002048/0.002048, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.172/2.172, allocations: 227.4 MB / 246.9 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2932/0.2932, allocations: 46.11 MB / 344.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 79.88 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1378, allocations: 62.45 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003919/0.1418, allocations: 1.976 MB / 481.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.1441, allocations: 1.119 MB / 483 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1443, allocations: 4 kB / 483 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.1448, allocations: 155.6 kB / 483.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.1452, allocations: 159.5 kB / 483.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.1456, allocations: 95.78 kB / 483.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.1459, allocations: 231.3 kB / 483.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.1461, allocations: 33.64 kB / 483.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.1463, allocations: 103.5 kB / 483.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.1465, allocations: 131.5 kB / 483.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.1466, allocations: 4 kB / 483.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1468, allocations: 63.97 kB / 484 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1469, allocations: 47.78 kB / 484 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.147, allocations: 83.34 kB / 484.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.1473, allocations: 164 kB / 484.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1473, allocations: 0 / 484.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1473, allocations: 4 kB / 484.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1473, allocations: 0 / 484.3 MB, free: 1.355 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.000864/0.1482, allocations: 0.5332 MB / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1483, allocations: 8.031 kB / 484.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/0.1483, allocations: 28.59 kB / 484.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.1488, allocations: 279.5 kB / 485.1 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.1488, allocations: 8.375 kB / 485.1 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.1488, allocations: 8.125 kB / 485.1 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.1491, allocations: 111.3 kB / 485.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1492, allocations: 3.938 kB / 485.3 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.1492, allocations: 4 kB / 485.3 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1492, allocations: 4 kB / 485.3 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.1494, allocations: 39.97 kB / 485.3 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/0.1501, allocations: 476.7 kB / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.1506, allocations: 125.2 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.1508, allocations: 45.77 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1508, allocations: 7.984 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.1512, allocations: 116.8 kB / 486.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/0.1512, allocations: 0 / 486.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001781/0.153, allocations: 0.493 MB / 486.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.153, allocations: 81.09 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.1535, allocations: 375.3 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.1536, allocations: 29.7 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.1537, allocations: 148.5 kB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.347e-05/0.1538, allocations: 67.09 kB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.1539, allocations: 45.7 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.001145/0.1551, allocations: 342.8 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.1552, allocations: 59.98 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1554, allocations: 91.39 kB / 487.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.1558, allocations: 159.5 kB / 487.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1558, allocations: 4 kB / 487.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005515/0.1564, allocations: 233.1 kB / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1564, allocations: 7.938 kB / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1564, allocations: 4 kB / 488.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1565, allocations: 0 / 488.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.1567, allocations: 39.98 kB / 488.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1567, allocations: 0 / 488.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1568, allocations: 19.86 kB / 488.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.1569, allocations: 8 kB / 488.2 MB, free: 13.12 MB / 366.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.0001781/0.157, allocations: 162.4 kB / 488.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.1571, allocations: 35.56 kB / 488.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.088e-05/0.1572, allocations: 37.81 kB / 488.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.1572, allocations: 4 kB / 488.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1572, allocations: 0 / 488.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1573, allocations: 0 / 488.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.1595, allocations: 0.7272 MB / 489.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.1595, allocations: 8 kB / 489.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.1597, allocations: 27.92 kB / 489.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.1597, allocations: 4 kB / 489.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.1597, allocations: 11.98 kB / 489.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1597, allocations: 8.125 kB / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1597, allocations: 192 / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.1604, allocations: 425 kB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.1605, allocations: 104.8 kB / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.1605, allocations: 8 kB / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.1607, allocations: 8 kB / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.1608, allocations: 23.91 kB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.1609, allocations: 12 kB / 489.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003825/0.1613, allocations: 277.9 kB / 490.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1613, allocations: 0 / 490.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005338/0.1618, allocations: 44 kB / 490.1 MB, free: 11.1 MB / 366.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.001646/0.1635, allocations: 0.5058 MB / 490.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004538/0.1639, allocations: 155.8 kB / 490.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.164, allocations: 0 / 490.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.1642, allocations: 88.16 kB / 490.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007549/0.1649, allocations: 62.8 kB / 490.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.166, allocations: 0.6019 MB / 491.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.1664, allocations: 0.7599 MB / 492.3 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1666, allocations: 27.42 kB / 492.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1666, allocations: 0 / 492.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of Templates: time 0.00731/0.1739, allocations: 3.59 MB / 495.9 MB, free: 5.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches