Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 104.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001586, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2713/0.2713, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 76.91 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1324, allocations: 62.44 MB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003357/0.1358, allocations: 1.789 MB / 481.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1375, allocations: 1.013 MB / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.1376, allocations: 4 kB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.1378, allocations: 35.84 kB / 482.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.1382, allocations: 79.73 kB / 482.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.1384, allocations: 59.88 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1385, allocations: 103.6 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.1386, allocations: 16 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.629e-05/0.1387, allocations: 39.78 kB / 482.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.1388, allocations: 31.78 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1388, allocations: 4 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.1389, allocations: 43.92 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.139, allocations: 23.91 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.139, allocations: 31.75 kB / 482.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1392, allocations: 111.9 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1392, allocations: 7.984 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1392, allocations: 0 / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1392, allocations: 4 kB / 482.7 MB, free: 2.34 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.00048/0.1397, allocations: 407 kB / 483.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1397, allocations: 8.875 kB / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.1398, allocations: 16.83 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.14, allocations: 212.7 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.14, allocations: 12.3 kB / 483.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.14, allocations: 12.12 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1402, allocations: 53.67 kB / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1402, allocations: 3.984 kB / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1402, allocations: 0 / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.1402, allocations: 0 / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.463e-05/0.1403, allocations: 19.98 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.1406, allocations: 284.8 kB / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1408, allocations: 66.61 kB / 483.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.1409, allocations: 20.86 kB / 483.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1409, allocations: 4 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.1411, allocations: 63.39 kB / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1411, allocations: 0 / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005575/0.1416, allocations: 177.2 kB / 484 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1417, allocations: 55.41 kB / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.1419, allocations: 190.9 kB / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1419, allocations: 25.7 kB / 484.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.1419, allocations: 116 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.142, allocations: 27.62 kB / 484.4 MB, free: 408 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.142, allocations: 21.72 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1422, allocations: 330.8 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.003e-05/0.1422, allocations: 23.98 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1424, allocations: 33.7 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1425, allocations: 53.72 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1425, allocations: 0 / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.1427, allocations: 105.4 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1427, allocations: 8.031 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1427, allocations: 4 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1427, allocations: 0 / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1428, allocations: 19.92 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1428, allocations: 4 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.1429, allocations: 3.938 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1429, allocations: 8 kB / 485 MB, free: 15.76 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 8.711e-05/0.143, allocations: 121.8 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.143, allocations: 11.91 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.1431, allocations: 17.41 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1431, allocations: 3.938 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1431, allocations: 0 / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1431, allocations: 3.938 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.1435, allocations: 399.2 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1435, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.1436, allocations: 8 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1436, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1436, allocations: 15.97 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1436, allocations: 384 / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.1436, allocations: 3.984 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.1438, allocations: 200.5 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.1439, allocations: 96.92 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1439, allocations: 7.938 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.144, allocations: 0 / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.144, allocations: 11.98 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1441, allocations: 4 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1442, allocations: 152.7 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1442, allocations: 0 / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1444, allocations: 20.19 kB / 486.1 MB, free: 14.6 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.001025/0.1455, allocations: 467.4 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1457, allocations: 55.91 kB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1457, allocations: 0 / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.1458, allocations: 35.92 kB / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.1461, allocations: 27.97 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.1466, allocations: 252.8 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.147, allocations: 0.7083 MB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.147, allocations: 17.17 kB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.1471, allocations: 15.44 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1471, allocations: 0 / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of Templates: time 0.004251/0.1513, allocations: 1.654 MB / 489.3 MB, free: 11.49 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches