Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2464/0.2464, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 87.86 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.135, allocations: 62.44 MB / 480.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003326/0.1383, allocations: 1.732 MB / 481.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.1409, allocations: 1.619 MB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.1409, allocations: 4 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1412, allocations: 39.77 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1415, allocations: 99.53 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.1417, allocations: 87.66 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1419, allocations: 99.7 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.142, allocations: 19.97 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.1421, allocations: 43.8 kB / 483.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1422, allocations: 47.77 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1422, allocations: 4 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.1425, allocations: 107.9 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.1425, allocations: 19.92 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.1426, allocations: 35.8 kB / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.1429, allocations: 167.8 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1429, allocations: 3.938 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1429, allocations: 0 / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1429, allocations: 0 / 484.2 MB, free: 1.094 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.0005663/0.1435, allocations: 423 kB / 484.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1435, allocations: 12.03 kB / 484.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.1436, allocations: 8.844 kB / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1438, allocations: 216 kB / 484.9 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1438, allocations: 7.938 kB / 484.9 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1439, allocations: 3.984 kB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1441, allocations: 71.33 kB / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1441, allocations: 0 / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1441, allocations: 0 / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1441, allocations: 4 kB / 485 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.796e-05/0.1442, allocations: 19.98 kB / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.1446, allocations: 284.9 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1448, allocations: 62.61 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.1449, allocations: 20.84 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1449, allocations: 4 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.1451, allocations: 67.39 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1451, allocations: 3.938 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005609/0.1457, allocations: 181.3 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.1458, allocations: 85.05 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.146, allocations: 162.5 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.146, allocations: 25.7 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.1461, allocations: 96.14 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1461, allocations: 23.64 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.1462, allocations: 29.72 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1463, allocations: 322.8 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/0.1464, allocations: 19.98 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.1465, allocations: 50.48 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1466, allocations: 53.7 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1466, allocations: 8.031 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001997/0.1468, allocations: 101.5 kB / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1469, allocations: 4 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1469, allocations: 0 / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1469, allocations: 4 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.147, allocations: 15.98 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.147, allocations: 3.938 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.1471, allocations: 4 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.1471, allocations: 4 kB / 486.6 MB, free: 14.49 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.0001216/0.1472, allocations: 132.5 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1472, allocations: 11.81 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.1473, allocations: 12.72 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1473, allocations: 4 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.1473, allocations: 3.938 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1473, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.1478, allocations: 391.3 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1478, allocations: 4.031 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.1479, allocations: 15.92 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1479, allocations: 0 / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1479, allocations: 8 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1479, allocations: 0 / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1479, allocations: 0 / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.1481, allocations: 204.2 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.1482, allocations: 96.94 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.1482, allocations: 192 / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.1483, allocations: 4 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1484, allocations: 11.92 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1484, allocations: 8 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1485, allocations: 122.3 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1485, allocations: 0 / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000319/0.1489, allocations: 51.98 kB / 487.6 MB, free: 13.33 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.001872/0.1507, allocations: 0.5236 MB / 488.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1509, allocations: 59.92 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1509, allocations: 0 / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.151, allocations: 36.05 kB / 488.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1514, allocations: 43.16 kB / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.1519, allocations: 198.8 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1523, allocations: 0.7119 MB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.83e-05/0.1523, allocations: 16.81 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.1524, allocations: 23.42 kB / 489.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1524, allocations: 0 / 489.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of Templates: time 0.006382/0.1588, allocations: 2.343 MB / 491.6 MB, free: 9.523 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches