Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 104.9 kB / 17.98 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002092/0.002092, allocations: 205.8 kB / 18.92 MB, free: 4.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.985/1.985, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2692/0.2692, allocations: 46.08 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 81.92 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1408, allocations: 62.44 MB / 480.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004162/0.1451, allocations: 1.785 MB / 481.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1469, allocations: 1.013 MB / 483 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.915e-05/0.147, allocations: 0 / 483 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.1474, allocations: 35.91 kB / 483 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004091/0.1478, allocations: 75.73 kB / 483.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.1481, allocations: 71.8 kB / 483.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.1483, allocations: 103.7 kB / 483.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1485, allocations: 15.98 kB / 483.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1486, allocations: 47.72 kB / 483.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-05/0.1487, allocations: 31.8 kB / 483.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1487, allocations: 4 kB / 483.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.1489, allocations: 39.98 kB / 483.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.1489, allocations: 23.91 kB / 483.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.149, allocations: 31.8 kB / 483.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.1492, allocations: 92.05 kB / 483.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1493, allocations: 0 / 483.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1493, allocations: 0 / 483.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1493, allocations: 0 / 483.5 MB, free: 2.23 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.0006205/0.1499, allocations: 419 kB / 483.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.15, allocations: 8.031 kB / 483.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.833e-05/0.15, allocations: 16.75 kB / 483.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1503, allocations: 204.1 kB / 484.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1503, allocations: 4.375 kB / 484.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1504, allocations: 4.125 kB / 484.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1505, allocations: 57.67 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1506, allocations: 4 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1506, allocations: 4 kB / 484.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1506, allocations: 0 / 484.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.598e-05/0.1507, allocations: 23.92 kB / 484.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.1511, allocations: 292.8 kB / 484.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.1513, allocations: 58.67 kB / 484.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.1514, allocations: 24.84 kB / 484.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1514, allocations: 3.938 kB / 484.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.1516, allocations: 67.39 kB / 484.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1516, allocations: 0 / 484.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005787/0.1522, allocations: 169.2 kB / 484.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.1523, allocations: 51.41 kB / 484.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.1525, allocations: 184.1 kB / 485.1 MB, free: 484 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1525, allocations: 25.7 kB / 485.1 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.1526, allocations: 108 kB / 485.2 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.1526, allocations: 23.73 kB / 485.2 MB, free: 316 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.1527, allocations: 21.72 kB / 485.3 MB, free: 288 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1528, allocations: 326.8 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.1529, allocations: 19.98 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.1529, allocations: 41.7 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1531, allocations: 53.66 kB / 485.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1531, allocations: 0 / 485.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.1533, allocations: 113.4 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1533, allocations: 4 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1533, allocations: 0 / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1533, allocations: 0 / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.1534, allocations: 19.98 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1535, allocations: 4.031 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.1535, allocations: 3.938 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1535, allocations: 8 kB / 485.8 MB, free: 15.67 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.1536, allocations: 128.2 kB / 486 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1537, allocations: 11.91 kB / 486 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.1537, allocations: 13.41 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1537, allocations: 0 / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1538, allocations: 0 / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1538, allocations: 8.25 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.1542, allocations: 399.4 kB / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1542, allocations: 4 kB / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.1543, allocations: 11.94 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1543, allocations: 0 / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1543, allocations: 16.06 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1543, allocations: 0 / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1543, allocations: 4.016 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1546, allocations: 204.3 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.1546, allocations: 85.02 kB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1547, allocations: 7.938 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.1548, allocations: 4 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.1548, allocations: 11.92 kB / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1548, allocations: 0 / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.155, allocations: 142.8 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.155, allocations: 0 / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1552, allocations: 23.98 kB / 486.9 MB, free: 14.52 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.001088/0.1563, allocations: 463 kB / 487.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.1566, allocations: 63.91 kB / 487.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1566, allocations: 0 / 487.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.505e-05/0.1567, allocations: 27.92 kB / 487.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.157, allocations: 31.88 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.1575, allocations: 276.9 kB / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1578, allocations: 0.7041 MB / 488.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.1578, allocations: 19.44 kB / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1579, allocations: 0 / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.04646/0.2043, allocations: 1.913 MB / 490.4 MB, free: 11.14 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches