Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00087/0.00087, allocations: 96.58 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009473/0.0009473, allocations: 203.3 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002481/0.0002481, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002993/0.1335, allocations: 1.629 MB / 484.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.1358, allocations: 1.088 MB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.136, allocations: 3.938 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.1365, allocations: 155.7 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.1369, allocations: 159.5 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1372, allocations: 99.78 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.1376, allocations: 231.3 kB / 486.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1377, allocations: 29.66 kB / 486.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.1379, allocations: 99.56 kB / 486.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.1381, allocations: 127.5 kB / 486.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1382, allocations: 4 kB / 486.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.1383, allocations: 63.91 kB / 486.8 MB, free: 468 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.1384, allocations: 39.84 kB / 486.8 MB, free: 428 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1385, allocations: 109 kB / 486.9 MB, free: 312 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.1389, allocations: 207.5 kB / 487.1 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1389, allocations: 4 kB / 487.1 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1389, allocations: 0 / 487.1 MB, free: 100 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.1389, allocations: 0 / 487.1 MB, free: 100 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008114/0.1397, allocations: 0.5061 MB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1398, allocations: 8.031 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.1399, allocations: 24.66 kB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.1403, allocations: 275.5 kB / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1403, allocations: 12.31 kB / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.1403, allocations: 16.12 kB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.1406, allocations: 109.9 kB / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1406, allocations: 0 / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.1406, allocations: 11.98 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1407, allocations: 0 / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1408, allocations: 43.91 kB / 488.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.1414, allocations: 476.7 kB / 488.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.1418, allocations: 117.2 kB / 488.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.142, allocations: 49.81 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.142, allocations: 0 / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.1423, allocations: 132.6 kB / 488.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.1423, allocations: 3.938 kB / 488.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001385/0.1437, allocations: 496.5 kB / 489.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.1438, allocations: 81.11 kB / 489.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.1442, allocations: 371.2 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.1442, allocations: 33.7 kB / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1444, allocations: 148.5 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.665e-05/0.1444, allocations: 75.08 kB / 490.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.1445, allocations: 17.72 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1447, allocations: 346.8 kB / 490.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.1448, allocations: 59.92 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.145, allocations: 95.33 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.1453, allocations: 159.5 kB / 490.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1453, allocations: 0 / 490.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004385/0.1457, allocations: 229.1 kB / 490.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1458, allocations: 7.938 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1458, allocations: 4 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1458, allocations: 0 / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.146, allocations: 47.92 kB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.146, allocations: 0 / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.1461, allocations: 20.05 kB / 491 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.1461, allocations: 4 kB / 491 MB, free: 11.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001813/0.1463, allocations: 162.3 kB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.1464, allocations: 35.55 kB / 491.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.914e-05/0.1464, allocations: 37.83 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1465, allocations: 0 / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.1465, allocations: 0 / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1465, allocations: 4 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009763/0.1475, allocations: 0.7155 MB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.1475, allocations: 4 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.1476, allocations: 35.92 kB / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1476, allocations: 192 / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1476, allocations: 12.11 kB / 492 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1476, allocations: 7.938 kB / 492 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1476, allocations: 3.938 kB / 492 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.1481, allocations: 425.7 kB / 492.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.1482, allocations: 104.7 kB / 492.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.1483, allocations: 15.97 kB / 492.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1484, allocations: 8 kB / 492.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.1485, allocations: 23.84 kB / 492.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.1485, allocations: 16 kB / 492.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002851/0.1488, allocations: 273.9 kB / 492.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1488, allocations: 4 kB / 492.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.1492, allocations: 51.98 kB / 492.9 MB, free: 9.867 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001266/0.1505, allocations: 0.4997 MB / 493.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.1508, allocations: 151.9 kB / 493.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1509, allocations: 3.938 kB / 493.6 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.151, allocations: 87.97 kB / 493.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.1516, allocations: 56.97 kB / 493.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008906/0.1525, allocations: 0.5664 MB / 494.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.1529, allocations: 0.7638 MB / 495.1 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1531, allocations: 41.92 kB / 495.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.1532, allocations: 27.44 kB / 495.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of SimCode: time 2.084e-06/0.1532, allocations: 0 / 495.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of Templates: time 0.006907/0.1601, allocations: 2.939 MB / 498.1 MB, free: 4.875 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches