Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, allocations: 116.4 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 205.8 kB / 18.92 MB, free: 4.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247.1 MB, free: 8.926 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.12 MB / 344.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 79.61 kB / 417.8 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1152, allocations: 62.45 MB / 480.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003367/0.1186, allocations: 1.793 MB / 482 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.1211, allocations: 1.592 MB / 483.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.1212, allocations: 3.938 kB / 483.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.1215, allocations: 31.91 kB / 483.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.1218, allocations: 87.67 kB / 483.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.122, allocations: 59.88 kB / 483.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.1222, allocations: 107.7 kB / 483.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1223, allocations: 15.98 kB / 483.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.57e-05/0.1224, allocations: 51.72 kB / 484 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.1226, allocations: 47.77 kB / 484 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1226, allocations: 4 kB / 484 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.1228, allocations: 107.9 kB / 484.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.1229, allocations: 19.92 kB / 484.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.123, allocations: 35.78 kB / 484.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.1232, allocations: 132 kB / 484.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1232, allocations: 4 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1232, allocations: 4 kB / 484.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1232, allocations: 0 / 484.3 MB, free: 1.387 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.0006179/0.1239, allocations: 415.1 kB / 484.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1239, allocations: 8.031 kB / 484.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.124, allocations: 8.844 kB / 484.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1242, allocations: 220 kB / 484.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1243, allocations: 7.938 kB / 485 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1243, allocations: 3.938 kB / 485 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1245, allocations: 71.39 kB / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1245, allocations: 0 / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1245, allocations: 3.984 kB / 485 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1245, allocations: 0 / 485 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.913e-05/0.1246, allocations: 16 kB / 485 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.125, allocations: 292.8 kB / 485.3 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1252, allocations: 58.67 kB / 485.4 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.1253, allocations: 20.86 kB / 485.4 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1253, allocations: 0 / 485.4 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.1256, allocations: 67.33 kB / 485.5 MB, free: 52 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1256, allocations: 0 / 485.5 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006121/0.1262, allocations: 181.1 kB / 485.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.1263, allocations: 81.05 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.1265, allocations: 162.4 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1265, allocations: 33.7 kB / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.1266, allocations: 96.12 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.1266, allocations: 27.64 kB / 486 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1267, allocations: 25.72 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1268, allocations: 322.8 kB / 486.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.1269, allocations: 23.98 kB / 486.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.127, allocations: 46.55 kB / 486.5 MB, free: 15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1271, allocations: 57.72 kB / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1271, allocations: 0 / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002124/0.1273, allocations: 97.58 kB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1274, allocations: 12.06 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1274, allocations: 0 / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1274, allocations: 384 / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.1275, allocations: 19.94 kB / 486.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1275, allocations: 7.922 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.1276, allocations: 4 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1276, allocations: 4 kB / 486.7 MB, free: 14.79 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.0001128/0.1277, allocations: 124.5 kB / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.1277, allocations: 11.81 kB / 486.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.1278, allocations: 20.7 kB / 486.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1278, allocations: 0 / 486.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1278, allocations: 7.875 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1278, allocations: 0 / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.1283, allocations: 395.3 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1283, allocations: 0 / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.1284, allocations: 11.94 kB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1284, allocations: 0 / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1284, allocations: 11.95 kB / 487.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1284, allocations: 4 kB / 487.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1284, allocations: 0 / 487.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1287, allocations: 196.3 kB / 487.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.1287, allocations: 88.95 kB / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.1288, allocations: 4 kB / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.1288, allocations: 15.97 kB / 487.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1289, allocations: 0 / 487.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1289, allocations: 4.188 kB / 487.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.129, allocations: 134.3 kB / 487.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.129, allocations: 3.938 kB / 487.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.1294, allocations: 44 kB / 487.7 MB, free: 13.63 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.001972/0.1313, allocations: 0.5419 MB / 488.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1315, allocations: 63.91 kB / 488.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1316, allocations: 0 / 488.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.1316, allocations: 27.98 kB / 488.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.132, allocations: 34.52 kB / 488.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.1325, allocations: 256.5 kB / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.1329, allocations: 0.7041 MB / 489.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.133, allocations: 23.42 kB / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.133, allocations: 0 / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.004833/0.1378, allocations: 2.391 MB / 491.7 MB, free: 9.723 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches