Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 99.48 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.00174, allocations: 200.2 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.679/1.679, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.19 MB / 344.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004964, allocations: 8 kB / 418.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1515, allocations: 63.56 MB / 482.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002294/0.1539, allocations: 1.427 MB / 483.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1556, allocations: 0.9324 MB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.1557, allocations: 0 / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.156, allocations: 35.89 kB / 484.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.1563, allocations: 75.67 kB / 484.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.1565, allocations: 67.75 kB / 484.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1567, allocations: 91.69 kB / 485 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1568, allocations: 8 kB / 485 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.1569, allocations: 35.8 kB / 485.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.801e-05/0.157, allocations: 35.83 kB / 485.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.157, allocations: 0 / 485.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.593e-05/0.1571, allocations: 39.94 kB / 485.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.1572, allocations: 15.92 kB / 485.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.1572, allocations: 33.7 kB / 485.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1574, allocations: 92.08 kB / 485.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1574, allocations: 4 kB / 485.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1574, allocations: 0 / 485.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1574, allocations: 3.938 kB / 485.3 MB, free: 1.617 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005893/0.158, allocations: 391 kB / 485.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1581, allocations: 11.97 kB / 485.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.1581, allocations: 15.81 kB / 485.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1584, allocations: 202.8 kB / 485.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1584, allocations: 4 kB / 485.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1584, allocations: 4 kB / 485.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1586, allocations: 53.67 kB / 486 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1586, allocations: 4 kB / 486 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1586, allocations: 4 kB / 486 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1586, allocations: 3.938 kB / 486 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.131e-05/0.1587, allocations: 15.98 kB / 486 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.1591, allocations: 284.9 kB / 486.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1593, allocations: 62.67 kB / 486.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.1593, allocations: 24.78 kB / 486.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1594, allocations: 0 / 486.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.1596, allocations: 63.39 kB / 486.4 MB, free: 336 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1596, allocations: 0 / 486.4 MB, free: 336 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005404/0.1601, allocations: 181.2 kB / 486.6 MB, free: 148 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1602, allocations: 55.41 kB / 486.6 MB, free: 80 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.1604, allocations: 180 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1604, allocations: 29.69 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.1605, allocations: 100.1 kB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1606, allocations: 31.62 kB / 487 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.1606, allocations: 8 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1607, allocations: 318.8 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.1608, allocations: 20 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.1608, allocations: 37.64 kB / 487.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.1609, allocations: 35.98 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1609, allocations: 4 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001732/0.1611, allocations: 93.5 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1611, allocations: 4 kB / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1611, allocations: 0 / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1612, allocations: 8.031 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/0.1613, allocations: 19.92 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1613, allocations: 0 / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.1613, allocations: 11.94 kB / 487.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1614, allocations: 3.953 kB / 487.5 MB, free: 15.15 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.1615, allocations: 125.8 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.1615, allocations: 11.91 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.1616, allocations: 17.41 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1616, allocations: 0 / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1616, allocations: 7.984 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1616, allocations: 4 kB / 487.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.1621, allocations: 391.2 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1621, allocations: 0 / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.1621, allocations: 12 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1621, allocations: 0 / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1621, allocations: 7.984 kB / 488.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1621, allocations: 0 / 488.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1622, allocations: 11.92 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1624, allocations: 196.3 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.1625, allocations: 85.02 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1625, allocations: 3.984 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.1626, allocations: 8 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.1626, allocations: 7.953 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1627, allocations: 11.98 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1628, allocations: 134.8 kB / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1628, allocations: 0 / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.163, allocations: 23.91 kB / 488.6 MB, free: 14 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.1642, allocations: 469.3 kB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1644, allocations: 55.97 kB / 489.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1644, allocations: 0 / 489.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.886e-05/0.1644, allocations: 36.08 kB / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1648, allocations: 24.12 kB / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.1653, allocations: 238.7 kB / 489.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1656, allocations: 0.7043 MB / 490.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.062e-05/0.1656, allocations: 12.89 kB / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.1657, allocations: 19.42 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1657, allocations: 0 / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Templates: time 0.004612/0.1703, allocations: 1.614 MB / 491.7 MB, free: 10.96 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches