Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 97.03 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 206.6 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.000299, allocations: 11.98 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 63.56 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002673/0.1452, allocations: 1.639 MB / 484.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.1474, allocations: 1.025 MB / 485.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1475, allocations: 7.938 kB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.148, allocations: 39.83 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.1483, allocations: 83.67 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1486, allocations: 79.81 kB / 485.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1488, allocations: 135.6 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.149, allocations: 25.55 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.1491, allocations: 47.73 kB / 486.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1492, allocations: 47.64 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1492, allocations: 4 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1493, allocations: 43.98 kB / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.1494, allocations: 23.86 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.762e-05/0.1495, allocations: 73.36 kB / 486.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.1497, allocations: 147.7 kB / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1497, allocations: 0 / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1497, allocations: 0 / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1498, allocations: 0 / 486.5 MB, free: 0.7109 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007317/0.1505, allocations: 468.5 kB / 486.9 MB, free: 204 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.1506, allocations: 8.875 kB / 487 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.1506, allocations: 16.84 kB / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1509, allocations: 228.8 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.151, allocations: 4.375 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.151, allocations: 12.12 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.1513, allocations: 118.7 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1513, allocations: 0 / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.1513, allocations: 8 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1513, allocations: 0 / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.1515, allocations: 59.84 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006363/0.1521, allocations: 0.5087 MB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.1525, allocations: 98.59 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1526, allocations: 36.84 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1526, allocations: 3.984 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.1529, allocations: 91.3 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1529, allocations: 0 / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004101/0.1533, allocations: 145.5 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1534, allocations: 55.34 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1536, allocations: 202.1 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1537, allocations: 37.64 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1538, allocations: 116 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1538, allocations: 23.66 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.1538, allocations: 21.7 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.154, allocations: 326.8 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.1541, allocations: 31.98 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1542, allocations: 67.52 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1544, allocations: 100.2 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1544, allocations: 4 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002545/0.1547, allocations: 137.7 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1547, allocations: 4 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1547, allocations: 4 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1547, allocations: 4.078 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1549, allocations: 35.81 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1549, allocations: 4.125 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.1549, allocations: 19.83 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.155, allocations: 4 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 9.847e-05/0.1551, allocations: 128.1 kB / 489.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.1551, allocations: 19.8 kB / 489.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.1551, allocations: 17.41 kB / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1551, allocations: 3.938 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1552, allocations: 4 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1552, allocations: 4 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.1553, allocations: 209.6 kB / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1554, allocations: 0 / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.1554, allocations: 12 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1554, allocations: 3.938 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1555, allocations: 0 / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1555, allocations: 3.938 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1555, allocations: 0 / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.1558, allocations: 192.8 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.1559, allocations: 96.89 kB / 490.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1559, allocations: 7.984 kB / 490.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.156, allocations: 11.94 kB / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.1561, allocations: 11.98 kB / 490.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1561, allocations: 4.062 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1562, allocations: 148.4 kB / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1562, allocations: 0 / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.1564, allocations: 24 kB / 490.3 MB, free: 12.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009523/0.1574, allocations: 404.2 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.1577, allocations: 84.02 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1577, allocations: 4 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.1578, allocations: 39.92 kB / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1581, allocations: 34.97 kB / 490.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.1587, allocations: 308.4 kB / 491.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.159, allocations: 0.7165 MB / 491.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.539e-05/0.1591, allocations: 25.41 kB / 491.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.1591, allocations: 15.44 kB / 491.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1591, allocations: 0 / 491.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of Templates: time 0.00469/0.1638, allocations: 1.768 MB / 493.7 MB, free: 9.215 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches