Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 107.6 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.0015/0.001501, 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.386/1.386, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2422/0.2422, allocations: 44.18 MB / 336.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 60.59 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1382, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003209/0.1415, allocations: 1.85 MB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.1437, allocations: 1.526 MB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.1438, allocations: 7.938 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1441, allocations: 47.81 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.1444, allocations: 71.69 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1448, allocations: 158.7 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.145, allocations: 171.5 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.255e-05/0.1451, allocations: 13.53 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1452, allocations: 79.52 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.1454, allocations: 63.69 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1454, allocations: 4 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1455, allocations: 67.95 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.1456, allocations: 23.86 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.212e-05/0.1457, allocations: 59.59 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1459, allocations: 163.8 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1459, allocations: 0 / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1459, allocations: 0 / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1459, allocations: 0 / 472.8 MB, free: 10.52 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.0006306/0.1466, allocations: 470.6 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1466, allocations: 12.03 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.1467, allocations: 16.75 kB / 473.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.147, allocations: 240 kB / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.147, allocations: 384 / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1471, allocations: 16.11 kB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.1473, allocations: 97.03 kB / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1473, allocations: 0 / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1473, allocations: 0 / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1473, allocations: 4 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1475, allocations: 31.97 kB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.1477, allocations: 214.4 kB / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.1479, allocations: 109.2 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/0.148, allocations: 45.62 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1481, allocations: 0 / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.1483, allocations: 109 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1483, allocations: 7.938 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000428/0.1488, allocations: 161.4 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.1488, allocations: 132.5 kB / 474.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.1491, allocations: 211.8 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.1491, allocations: 33.69 kB / 474.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.1492, allocations: 108.1 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.1492, allocations: 23.72 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.1493, allocations: 37.64 kB / 474.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1494, allocations: 326.8 kB / 475.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.1495, allocations: 27.98 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1496, allocations: 69.12 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.1498, allocations: 95.89 kB / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1498, allocations: 0 / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002736/0.1501, allocations: 141.3 kB / 475.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1501, allocations: 4 kB / 475.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1501, allocations: 3.984 kB / 475.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1501, allocations: 4 kB / 475.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1503, allocations: 16 kB / 475.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1503, allocations: 12.05 kB / 475.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.1504, allocations: 15.84 kB / 475.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.1504, allocations: 4 kB / 475.5 MB, free: 7.473 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.000109/0.1505, allocations: 142.2 kB / 475.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.1505, allocations: 15.81 kB / 475.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.1506, allocations: 17 kB / 475.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1506, allocations: 7.984 kB / 475.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1506, allocations: 0 / 475.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1506, allocations: 4 kB / 475.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.1508, allocations: 217.5 kB / 475.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1508, allocations: 0 / 475.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.1508, allocations: 8 kB / 476 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1508, allocations: 0 / 476 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1508, allocations: 3.984 kB / 476 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1509, allocations: 4 kB / 476 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1509, allocations: 128 / 476 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1511, allocations: 177.6 kB / 476.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.1512, allocations: 92.95 kB / 476.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.1512, allocations: 8.078 kB / 476.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.1513, allocations: 7.938 kB / 476.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1514, allocations: 15.92 kB / 476.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1514, allocations: 4 kB / 476.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1515, allocations: 156.2 kB / 476.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1515, allocations: 0 / 476.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1518, allocations: 43.94 kB / 476.5 MB, free: 6.465 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.0009817/0.1528, allocations: 459.1 kB / 476.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.153, allocations: 83.97 kB / 477 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.153, allocations: 0 / 477 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1531, allocations: 39.92 kB / 477 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1535, allocations: 55.88 kB / 477.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.154, allocations: 289.6 kB / 477.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1542, allocations: 0.7205 MB / 478.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.16e-05/0.1543, allocations: 21.55 kB / 478.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.1543, allocations: 23.42 kB / 478.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1544, allocations: 0 / 478.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of Templates: time 0.005539/0.1599, allocations: 2.545 MB / 480.7 MB, free: 2.395 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches