Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007232/0.0007234, allocations: 101.9 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009321/0.0009322, allocations: 206.9 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.7 MB / 247.5 MB, free: 9.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.000282, allocations: 12 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 63.56 MB / 483.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003163/0.1457, allocations: 1.407 MB / 485.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.1479, allocations: 0.9668 MB / 486.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.148, allocations: 0 / 486.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.1484, allocations: 67.8 kB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.1488, allocations: 87.72 kB / 486.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1491, allocations: 55.89 kB / 486.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1494, allocations: 107.6 kB / 486.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.1495, allocations: 4.234 kB / 486.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1496, allocations: 43.78 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1498, allocations: 47.83 kB / 486.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1498, allocations: 0 / 486.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.15, allocations: 31.98 kB / 486.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.15, allocations: 19.92 kB / 486.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.1501, allocations: 65.38 kB / 486.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1503, allocations: 76.11 kB / 486.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1504, allocations: 0 / 486.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1504, allocations: 0 / 486.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1504, allocations: 0 / 486.7 MB, free: 1.125 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.0006879/0.1511, allocations: 395.1 kB / 487.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.1512, allocations: 8.875 kB / 487.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.1512, allocations: 16.73 kB / 487.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1515, allocations: 204.8 kB / 487.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1516, allocations: 384 / 487.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1516, allocations: 12.12 kB / 487.3 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.1518, allocations: 49.61 kB / 487.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1518, allocations: 0 / 487.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1519, allocations: 4 kB / 487.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1519, allocations: 8 kB / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.152, allocations: 15.98 kB / 487.4 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.1523, allocations: 177.7 kB / 487.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1525, allocations: 50.61 kB / 487.6 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/0.1526, allocations: 20.8 kB / 487.7 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.1526, allocations: 7.922 kB / 487.7 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.1529, allocations: 71.39 kB / 487.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/0.1529, allocations: 0 / 487.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004222/0.1533, allocations: 93.48 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1534, allocations: 55.34 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1537, allocations: 190.9 kB / 488.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1537, allocations: 33.64 kB / 488.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1538, allocations: 104.1 kB / 488.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.1539, allocations: 11.91 kB / 488.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1539, allocations: 9.719 kB / 488.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002642/0.1542, allocations: 322.8 kB / 488.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.1543, allocations: 15.98 kB / 488.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.1544, allocations: 33.7 kB / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1545, allocations: 45.7 kB / 488.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1545, allocations: 0 / 488.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002378/0.1548, allocations: 89.38 kB / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.1548, allocations: 7.984 kB / 488.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1548, allocations: 0 / 488.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1549, allocations: 3.938 kB / 488.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.155, allocations: 12 kB / 488.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.155, allocations: 0 / 488.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.1551, allocations: 0 / 488.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1551, allocations: 4 kB / 488.7 MB, free: 14.86 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.0001525/0.1552, allocations: 140.3 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1553, allocations: 11.89 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.1553, allocations: 16.98 kB / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1553, allocations: 0 / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1554, allocations: 0 / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1554, allocations: 0 / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.1556, allocations: 197.4 kB / 489.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1556, allocations: 320 / 489.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.1556, allocations: 15.98 kB / 489.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1556, allocations: 4 kB / 489.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1557, allocations: 0 / 489.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1557, allocations: 0 / 489.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1557, allocations: 4 kB / 489.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1559, allocations: 108.9 kB / 489.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.156, allocations: 89.02 kB / 489.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.156, allocations: 0 / 489.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.946e-05/0.1561, allocations: 3.984 kB / 489.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.1561, allocations: 8 kB / 489.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1562, allocations: 4 kB / 489.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.1563, allocations: 152.7 kB / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1564, allocations: 0 / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.1567, allocations: 20 kB / 489.5 MB, free: 14.01 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.00134/0.1581, allocations: 402.6 kB / 489.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1583, allocations: 51.91 kB / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1583, allocations: 0 / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.1584, allocations: 16 kB / 490 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.1587, allocations: 30.91 kB / 490 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.1592, allocations: 254.9 kB / 490.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1595, allocations: 0.7004 MB / 490.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.1596, allocations: 15.44 kB / 491 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1596, allocations: 0 / 491 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.003652/0.1632, allocations: 1.703 MB / 492.7 MB, free: 10.92 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches