Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007667/0.0007667, allocations: 91.45 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000849/0.000849, allocations: 201.3 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.7 MB / 247.5 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.194/0.194, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002988, allocations: 12 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 63.57 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002647/0.131, allocations: 1.625 MB / 485.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1331, allocations: 1.092 MB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.1333, allocations: 4 kB / 486.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.1338, allocations: 215.5 kB / 486.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.1343, allocations: 195.4 kB / 486.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1346, allocations: 95.78 kB / 487 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.135, allocations: 247.3 kB / 487.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1351, allocations: 21.67 kB / 487.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.1353, allocations: 111.5 kB / 487.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.1356, allocations: 155.4 kB / 487.5 MB, free: 380 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1356, allocations: 4 kB / 487.5 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.1358, allocations: 67.97 kB / 487.6 MB, free: 308 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.331e-05/0.1359, allocations: 55.72 kB / 487.6 MB, free: 252 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.136, allocations: 109 kB / 487.7 MB, free: 136 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.1363, allocations: 176 kB / 487.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1363, allocations: 0 / 487.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1363, allocations: 0 / 487.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1363, allocations: 4 kB / 487.9 MB, free: 15.95 MB / 366.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.0007543/0.1371, allocations: 0.5176 MB / 488.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1371, allocations: 12.03 kB / 488.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.1372, allocations: 36.5 kB / 488.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.1375, allocations: 284 kB / 488.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1376, allocations: 8.375 kB / 488.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.1376, allocations: 8.125 kB / 488.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.1379, allocations: 117.9 kB / 488.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1379, allocations: 0 / 488.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1379, allocations: 4 kB / 488.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1379, allocations: 7.984 kB / 488.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.1381, allocations: 47.95 kB / 488.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.1386, allocations: 472.7 kB / 489.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.139, allocations: 125.2 kB / 489.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1391, allocations: 45.83 kB / 489.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1392, allocations: 4 kB / 489.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.1394, allocations: 121.2 kB / 489.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.885e-06/0.1394, allocations: 3.984 kB / 489.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001331/0.1408, allocations: 0.5006 MB / 490.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.1408, allocations: 85.11 kB / 490.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.1413, allocations: 444.5 kB / 490.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.1413, allocations: 33.7 kB / 490.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1415, allocations: 160.5 kB / 490.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.1415, allocations: 71 kB / 491 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.1416, allocations: 21.72 kB / 491 MB, free: 12.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1417, allocations: 346.8 kB / 491.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1419, allocations: 55.97 kB / 491.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.142, allocations: 87.41 kB / 491.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.1423, allocations: 163.3 kB / 491.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1423, allocations: 0 / 491.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000395/0.1427, allocations: 233.2 kB / 491.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1427, allocations: 18.22 kB / 491.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1427, allocations: 0 / 491.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1428, allocations: 4.062 kB / 491.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1429, allocations: 55.84 kB / 491.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1429, allocations: 0 / 491.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/0.143, allocations: 12 kB / 491.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.143, allocations: 4 kB / 491.9 MB, free: 11.62 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.0001651/0.1432, allocations: 170.3 kB / 492.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.1433, allocations: 39.56 kB / 492.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.945e-05/0.1434, allocations: 46.8 kB / 492.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1434, allocations: 8 kB / 492.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1434, allocations: 0 / 492.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1434, allocations: 0 / 492.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008659/0.1443, allocations: 0.7428 MB / 492.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1443, allocations: 0 / 492.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.1444, allocations: 31.92 kB / 493 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1444, allocations: 0 / 493 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.1444, allocations: 12 kB / 493 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1444, allocations: 0 / 493 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1444, allocations: 4 kB / 493 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.1449, allocations: 421.8 kB / 493.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.145, allocations: 112.7 kB / 493.5 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.145, allocations: 4 kB / 493.5 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1452, allocations: 11.98 kB / 493.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.1452, allocations: 27.86 kB / 493.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.1452, allocations: 8 kB / 493.6 MB, free: 9.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003048/0.1455, allocations: 335 kB / 493.9 MB, free: 9.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1456, allocations: 0 / 493.9 MB, free: 9.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.1459, allocations: 47.98 kB / 493.9 MB, free: 9.508 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.00121/0.1471, allocations: 0.5086 MB / 494.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.1475, allocations: 155.8 kB / 494.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1475, allocations: 0 / 494.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.1477, allocations: 79.84 kB / 494.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.1483, allocations: 61.33 kB / 494.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.1492, allocations: 0.6696 MB / 495.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1496, allocations: 0.7783 MB / 496.2 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.1497, allocations: 31.42 kB / 496.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1497, allocations: 0 / 496.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of Templates: time 0.006493/0.1562, allocations: 3.707 MB / 499.9 MB, free: 3.633 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time