Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008208/0.0008208, allocations: 92.44 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 205 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.7 MB / 246.8 MB, free: 9.594 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2657/0.2657, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002936, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 63.55 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002318/0.1453, allocations: 1.411 MB / 484.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.1472, allocations: 0.9629 MB / 485.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.1473, allocations: 0 / 485.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.1477, allocations: 67.8 kB / 485.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.148, allocations: 91.72 kB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.1482, allocations: 59.86 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1484, allocations: 95.7 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.964e-05/0.1485, allocations: 12.23 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1486, allocations: 47.7 kB / 485.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1487, allocations: 39.84 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1487, allocations: 4 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.1488, allocations: 31.97 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.1489, allocations: 19.92 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.1489, allocations: 61.38 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.1491, allocations: 103.9 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1491, allocations: 0 / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1491, allocations: 0 / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1492, allocations: 4 kB / 486.1 MB, free: 1.102 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.0005293/0.1497, allocations: 387.2 kB / 486.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1497, allocations: 12.88 kB / 486.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.1498, allocations: 12.75 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.15, allocations: 220.7 kB / 486.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.15, allocations: 384 / 486.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.1501, allocations: 4.125 kB / 486.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1502, allocations: 53.61 kB / 486.7 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1502, allocations: 4 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1502, allocations: 0 / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1502, allocations: 0 / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.1503, allocations: 15.98 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.1505, allocations: 177.7 kB / 486.9 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1507, allocations: 54.62 kB / 487 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.1508, allocations: 29.03 kB / 487 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1508, allocations: 3.938 kB / 487 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.151, allocations: 63.33 kB / 487.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.151, allocations: 0 / 487.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003142/0.1513, allocations: 97.48 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.1514, allocations: 51.41 kB / 487.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1516, allocations: 190.9 kB / 487.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1516, allocations: 33.7 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.1517, allocations: 100.1 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.1517, allocations: 15.83 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.1518, allocations: 13.72 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1519, allocations: 326.8 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.123e-05/0.152, allocations: 12 kB / 487.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.152, allocations: 25.7 kB / 487.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1522, allocations: 53.95 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1522, allocations: 0 / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001506/0.1523, allocations: 85.38 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1523, allocations: 6.5 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1524, allocations: 4 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1524, allocations: 0 / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.011e-05/0.1525, allocations: 11.98 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1525, allocations: 0 / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.1525, allocations: 8.031 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1526, allocations: 8 kB / 488.1 MB, free: 14.83 MB / 366.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.0001082/0.1527, allocations: 125.8 kB / 488.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1527, allocations: 11.84 kB / 488.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.1527, allocations: 16.94 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1528, allocations: 0 / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1528, allocations: 0 / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1528, allocations: 4 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1529, allocations: 193.4 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.153, allocations: 8 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.153, allocations: 3.938 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.153, allocations: 4 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.153, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.153, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.153, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.1532, allocations: 109 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.1533, allocations: 89 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1533, allocations: 7.938 kB / 488.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.1533, allocations: 4 kB / 488.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.1534, allocations: 7.984 kB / 488.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1534, allocations: 8.125 kB / 488.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1535, allocations: 148.7 kB / 488.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1535, allocations: 0 / 488.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.1537, allocations: 20 kB / 488.9 MB, free: 13.99 MB / 366.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.001067/0.1548, allocations: 408.2 kB / 489.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.155, allocations: 39.98 kB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.155, allocations: 0 / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.1551, allocations: 23.92 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.1554, allocations: 30.92 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.1558, allocations: 225.2 kB / 489.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1562, allocations: 0.7004 MB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.797e-05/0.1562, allocations: 24.64 kB / 490.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.1563, allocations: 15.44 kB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1563, allocations: 4 kB / 490.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of Templates: time 0.004831/0.1611, allocations: 1.414 MB / 491.7 MB, free: 11.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches