Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 86.89 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1412, allocations: 62.44 MB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003495/0.1447, allocations: 1.728 MB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1463, allocations: 1.025 MB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.1464, allocations: 0 / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.1468, allocations: 47.75 kB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.1471, allocations: 95.55 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.1473, allocations: 83.66 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1475, allocations: 103.7 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.1476, allocations: 19.97 kB / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.1476, allocations: 43.8 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.1477, allocations: 31.8 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1477, allocations: 4 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-05/0.1478, allocations: 43.97 kB / 483.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.1479, allocations: 19.92 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.631e-05/0.148, allocations: 39.73 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1482, allocations: 131.8 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1482, allocations: 0 / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1482, allocations: 0 / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1482, allocations: 4 kB / 483.4 MB, free: 1.832 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.0005556/0.1488, allocations: 434.8 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1488, allocations: 12.03 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1489, allocations: 8.844 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.1491, allocations: 217.6 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1491, allocations: 4.375 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1491, allocations: 4.125 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1493, allocations: 61.61 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1493, allocations: 4 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1493, allocations: 0 / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1494, allocations: 0 / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.1494, allocations: 19.98 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.1498, allocations: 292.8 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.15, allocations: 62.61 kB / 484.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.1501, allocations: 24.84 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1501, allocations: 0 / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.1503, allocations: 71.28 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1503, allocations: 4 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005482/0.1508, allocations: 173.1 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.1509, allocations: 51.41 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.1511, allocations: 242.2 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1512, allocations: 25.7 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.1512, allocations: 112.1 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.1513, allocations: 23.66 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.1513, allocations: 21.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1515, allocations: 334.7 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.1515, allocations: 19.98 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.1516, allocations: 41.64 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1517, allocations: 58.09 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1517, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.1519, allocations: 105.5 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1519, allocations: 7.938 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1519, allocations: 4 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.152, allocations: 0 / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.152, allocations: 24.03 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.1521, allocations: 3.984 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.1521, allocations: 7.844 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1521, allocations: 4 kB / 485.9 MB, free: 15.16 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 9.723e-05/0.1522, allocations: 136.3 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.1523, allocations: 11.91 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.1523, allocations: 13.41 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1523, allocations: 4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1523, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1523, allocations: 15.91 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.1527, allocations: 399.2 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1528, allocations: 0 / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1528, allocations: 15.98 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1528, allocations: 0 / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1528, allocations: 3.938 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1528, allocations: 4 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1528, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1531, allocations: 204.5 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.1531, allocations: 88.92 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1532, allocations: 3.938 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.1532, allocations: 7.984 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.1533, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1533, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1534, allocations: 180.4 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1535, allocations: 0 / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1537, allocations: 27.98 kB / 487 MB, free: 13.96 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.001046/0.1548, allocations: 458.1 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.155, allocations: 51.92 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.155, allocations: 4 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.155, allocations: 31.92 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1554, allocations: 32.97 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.1559, allocations: 275.5 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1562, allocations: 0.7119 MB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.965e-05/0.1563, allocations: 13.2 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.1563, allocations: 19.42 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1563, allocations: 0 / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Templates: time 0.004417/0.1607, allocations: 1.742 MB / 490.3 MB, free: 10.75 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches