Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 213.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.12 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 86.12 kB / 417.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1391, allocations: 62.44 MB / 480.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00351/0.1427, allocations: 1.785 MB / 482 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1444, allocations: 1.013 MB / 483 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.1445, allocations: 0 / 483 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.1448, allocations: 83.77 kB / 483.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.1451, allocations: 99.7 kB / 483.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.1452, allocations: 71.8 kB / 483.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.1454, allocations: 107.7 kB / 483.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.947e-05/0.1455, allocations: 19.98 kB / 483.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.155e-05/0.1456, allocations: 51.78 kB / 483.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.1457, allocations: 63.69 kB / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1457, allocations: 4 kB / 483.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-05/0.1458, allocations: 43.98 kB / 483.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.1458, allocations: 23.91 kB / 483.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.1459, allocations: 39.73 kB / 483.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1461, allocations: 96.03 kB / 483.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1461, allocations: 0 / 483.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1461, allocations: 4 kB / 483.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.1461, allocations: 0 / 483.7 MB, free: 2.035 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.0004954/0.1466, allocations: 426.9 kB / 484.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.1466, allocations: 12.03 kB / 484.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1467, allocations: 12.75 kB / 484.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1469, allocations: 208.6 kB / 484.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1469, allocations: 4.375 kB / 484.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.1469, allocations: 12.03 kB / 484.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1471, allocations: 53.67 kB / 484.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1471, allocations: 0 / 484.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1471, allocations: 8 kB / 484.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-06/0.1471, allocations: 0 / 484.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.1472, allocations: 23.91 kB / 484.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.1475, allocations: 288.9 kB / 484.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1477, allocations: 58.69 kB / 484.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.1477, allocations: 20.84 kB / 484.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1478, allocations: 4 kB / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.148, allocations: 67.33 kB / 484.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.148, allocations: 3.938 kB / 484.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004657/0.1485, allocations: 181 kB / 485.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1485, allocations: 55.41 kB / 485.1 MB, free: 452 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1487, allocations: 220.3 kB / 485.3 MB, free: 220 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.1488, allocations: 33.7 kB / 485.4 MB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.1489, allocations: 104.1 kB / 485.5 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1489, allocations: 27.59 kB / 485.5 MB, free: 44 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.149, allocations: 25.7 kB / 485.5 MB, free: 12 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1491, allocations: 330.8 kB / 485.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.1492, allocations: 15.98 kB / 485.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.1493, allocations: 37.72 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1494, allocations: 65.62 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1494, allocations: 0 / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/0.1496, allocations: 101.5 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1496, allocations: 4 kB / 486.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.1496, allocations: 0 / 486.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.253e-06/0.1496, allocations: 8.031 kB / 486.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.1497, allocations: 15.94 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.1497, allocations: 384 / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.1498, allocations: 15.92 kB / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1498, allocations: 4 kB / 486.1 MB, free: 15.4 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.0001123/0.1499, allocations: 125.8 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.15, allocations: 19.89 kB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.15, allocations: 13.41 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.15, allocations: 4 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.15, allocations: 4 kB / 486.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.15, allocations: 3.938 kB / 486.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.1505, allocations: 403.4 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1505, allocations: 0 / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.1506, allocations: 8 kB / 486.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.1506, allocations: 4 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1506, allocations: 15.86 kB / 486.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1506, allocations: 0 / 486.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1506, allocations: 4.031 kB / 486.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.1509, allocations: 196.3 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.151, allocations: 84.92 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.151, allocations: 15.88 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.1511, allocations: 0 / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.1512, allocations: 7.984 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1512, allocations: 8 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1513, allocations: 169.2 kB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1513, allocations: 0 / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1516, allocations: 24.19 kB / 487.2 MB, free: 14.2 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.001701/0.1533, allocations: 462.1 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1535, allocations: 63.89 kB / 487.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1535, allocations: 0 / 487.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.1536, allocations: 27.98 kB / 487.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.154, allocations: 30.73 kB / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005595/0.1545, allocations: 309.2 kB / 488.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.1549, allocations: 0.7119 MB / 488.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.155, allocations: 19.38 kB / 488.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.155, allocations: 0 / 488.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Templates: time 0.004075/0.1591, allocations: 2.004 MB / 490.8 MB, free: 10.7 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches