Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008715/0.0008715, 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.001221/0.001221, 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.502/1.502, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 11.98 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 63.55 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002542/0.1405, allocations: 1.446 MB / 484.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.1425, allocations: 0.9941 MB / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.1426, allocations: 0 / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.143, allocations: 39.83 kB / 485.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.1433, allocations: 71.77 kB / 485.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1435, allocations: 63.86 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.1437, allocations: 95.64 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1439, allocations: 16 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.678e-05/0.144, allocations: 43.77 kB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.1441, allocations: 31.8 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1441, allocations: 0 / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1442, allocations: 43.97 kB / 485.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.1443, allocations: 19.86 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.1443, allocations: 57.45 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1445, allocations: 107.9 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1446, allocations: 8 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1446, allocations: 0 / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1446, allocations: 0 / 486.1 MB, free: 1.082 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.0005863/0.1452, allocations: 385.8 kB / 486.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1452, allocations: 12.88 kB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.1453, allocations: 8.844 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1455, allocations: 220 kB / 486.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1456, allocations: 384 / 486.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.1456, allocations: 8.125 kB / 486.7 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1458, allocations: 57.67 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1458, allocations: 0 / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1458, allocations: 0 / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1458, allocations: 0 / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.1459, allocations: 23.97 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1464, allocations: 288.8 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.1466, allocations: 66.56 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.1466, allocations: 20.84 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.1467, allocations: 0 / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.1469, allocations: 67.39 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1469, allocations: 0 / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005757/0.1475, allocations: 173.2 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.1476, allocations: 51.41 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1477, allocations: 170.2 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1478, allocations: 29.7 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.1478, allocations: 100.1 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.1479, allocations: 27.64 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.1479, allocations: 9.719 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1481, allocations: 330.7 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.1481, allocations: 27.98 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.1482, allocations: 33.7 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1483, allocations: 61.7 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1483, allocations: 0 / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001896/0.1485, allocations: 93.53 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.1486, allocations: 8 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1486, allocations: 192 / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1486, allocations: 4.031 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.1487, allocations: 20.3 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1487, allocations: 4 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.1488, allocations: 11.88 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1488, allocations: 8 kB / 488.4 MB, free: 14.57 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 (10): * Single equations (assignments): 10 * 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.0001151/0.1489, allocations: 121.8 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.149, allocations: 15.75 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.149, allocations: 12.72 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.149, allocations: 4 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.149, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.1491, allocations: 11.92 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.1495, allocations: 387.3 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1495, allocations: 0 / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.1496, allocations: 8 kB / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1496, allocations: 0 / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1496, allocations: 11.94 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1496, allocations: 4.031 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1496, allocations: 3.984 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.1499, allocations: 196.2 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.1499, allocations: 89.02 kB / 489.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.15, allocations: 3.938 kB / 489.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.15, allocations: 7.984 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1501, allocations: 8 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1501, allocations: 8 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1502, allocations: 127.2 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1502, allocations: 0 / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.1505, allocations: 27.91 kB / 489.4 MB, free: 13.44 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 (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.001183/0.1517, allocations: 464.5 kB / 489.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1519, allocations: 59.89 kB / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1519, allocations: 0 / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.152, allocations: 35.92 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1524, allocations: 23.23 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.1529, allocations: 230.5 kB / 490.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1532, allocations: 0.7083 MB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.156e-05/0.1533, allocations: 16.88 kB / 490.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.1533, allocations: 19.42 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1533, allocations: 0 / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.004619/0.1579, allocations: 1.623 MB / 492.6 MB, free: 10.38 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches