Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008442/0.0008444, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009866/0.0009869, allocations: 206.3 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.533/1.533, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2567/0.2567, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002931, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 63.55 MB / 483.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002772/0.1443, allocations: 1.407 MB / 484.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1459, allocations: 0.9668 MB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.146, allocations: 0 / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1464, allocations: 67.8 kB / 485.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.1466, allocations: 91.72 kB / 485.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.1468, allocations: 55.88 kB / 485.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.147, allocations: 99.69 kB / 485.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.197e-05/0.1471, allocations: 8.234 kB / 485.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.1472, allocations: 43.72 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1473, allocations: 43.83 kB / 485.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1473, allocations: 4 kB / 485.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-05/0.1474, allocations: 35.98 kB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.1475, allocations: 19.91 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.1475, allocations: 65.38 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1477, allocations: 103.9 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1478, allocations: 0 / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1478, allocations: 0 / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1478, allocations: 0 / 486.1 MB, free: 1.16 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.0006829/0.1485, allocations: 387.2 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.1485, allocations: 12.88 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.1486, allocations: 20.75 kB / 486.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.1489, allocations: 204.8 kB / 486.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1489, allocations: 4.312 kB / 486.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1489, allocations: 4.125 kB / 486.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.1491, allocations: 65.53 kB / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1492, allocations: 0 / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1492, allocations: 0 / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1492, allocations: 0 / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.1493, allocations: 11.98 kB / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.1496, allocations: 189.7 kB / 487 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1497, allocations: 46.62 kB / 487 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.1498, allocations: 24.78 kB / 487 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.1498, allocations: 3.938 kB / 487 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.1501, allocations: 67.44 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.1501, allocations: 0 / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002977/0.1504, allocations: 97.48 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1505, allocations: 51.41 kB / 487.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1506, allocations: 186.9 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1507, allocations: 29.7 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.1507, allocations: 108.1 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.1508, allocations: 11.88 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.1508, allocations: 17.72 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.151, allocations: 326.8 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.151, allocations: 12 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.414e-05/0.1511, allocations: 29.69 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.909e-05/0.1512, allocations: 45.7 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1512, allocations: 0 / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001485/0.1513, allocations: 93.38 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1514, allocations: 4 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1514, allocations: 4 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1514, allocations: 0 / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.1515, allocations: 11.98 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1515, allocations: 0 / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.1515, allocations: 4 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1516, allocations: 4 kB / 488.1 MB, free: 14.89 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.000111/0.1517, allocations: 129.7 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.1517, allocations: 11.94 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.1517, allocations: 13 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1518, allocations: 3.938 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1518, allocations: 4.312 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1518, allocations: 0 / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.1519, allocations: 201.4 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1519, allocations: 0 / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.152, allocations: 0 / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.152, allocations: 4 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.152, allocations: 0 / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.152, allocations: 3.938 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.152, allocations: 4 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.1522, allocations: 112.9 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.1523, allocations: 89 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1523, allocations: 4 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.1523, allocations: 4 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.1524, allocations: 7.984 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1524, allocations: 0 / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1525, allocations: 156.7 kB / 488.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1525, allocations: 0 / 488.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.1527, allocations: 20 kB / 488.9 MB, free: 14.04 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.0009545/0.1537, allocations: 409.7 kB / 489.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1539, allocations: 35.98 kB / 489.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1539, allocations: 3.938 kB / 489.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/0.1539, allocations: 28.05 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.1542, allocations: 26.27 kB / 489.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.1546, allocations: 221.1 kB / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1549, allocations: 0.7083 MB / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.675e-05/0.155, allocations: 16.41 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.155, allocations: 15.44 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.155, allocations: 0 / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of Templates: time 0.004497/0.1595, allocations: 1.425 MB / 491.7 MB, free: 11.26 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches