Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001176/0.001176, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.1 MB / 344.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 79.16 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1417, allocations: 62.45 MB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003454/0.1452, allocations: 1.685 MB / 481.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.147, allocations: 1.005 MB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.1471, allocations: 4 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.1474, allocations: 67.72 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.1478, allocations: 107.5 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1479, allocations: 67.73 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.1481, allocations: 103.7 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.1482, allocations: 16.16 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.1483, allocations: 43.8 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/0.1484, allocations: 47.83 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.1484, allocations: 4 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.591e-05/0.1485, allocations: 31.98 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.1486, allocations: 15.92 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.1486, allocations: 35.73 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1488, allocations: 103.9 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1489, allocations: 4 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.1489, allocations: 0 / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1489, allocations: 3.938 kB / 483.4 MB, free: 1.906 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005679/0.1494, allocations: 410.9 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1495, allocations: 8.031 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.1496, allocations: 8.844 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.1498, allocations: 212.8 kB / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1498, allocations: 384 / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1499, allocations: 12.06 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.15, allocations: 41.69 kB / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.15, allocations: 0 / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.15, allocations: 3.984 kB / 484 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1501, allocations: 4 kB / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.1501, allocations: 19.94 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.1504, allocations: 181.7 kB / 484.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1506, allocations: 54.61 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.1506, allocations: 24.78 kB / 484.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1507, allocations: 3.938 kB / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.1509, allocations: 71.33 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.1509, allocations: 0 / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003009/0.1512, allocations: 93.48 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1512, allocations: 55.41 kB / 484.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1514, allocations: 194.4 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1515, allocations: 25.7 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.1515, allocations: 100.1 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.1516, allocations: 15.91 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.1516, allocations: 17.72 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1517, allocations: 322.8 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.207e-05/0.1518, allocations: 15.98 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.1519, allocations: 37.62 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.336e-05/0.152, allocations: 45.72 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.152, allocations: 0 / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/0.1522, allocations: 89.36 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1522, allocations: 8 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1522, allocations: 0 / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1522, allocations: 320 / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.1523, allocations: 8 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1523, allocations: 4 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.1524, allocations: 7.984 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1524, allocations: 4 kB / 485.4 MB, free: 15.61 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 (7): * Single equations (assignments): 7 * 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.0001069/0.1525, allocations: 132.2 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1525, allocations: 11.81 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.1526, allocations: 12.98 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.1526, allocations: 4 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1526, allocations: 3.938 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1526, allocations: 3.938 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1528, allocations: 193.5 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1528, allocations: 0 / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.1528, allocations: 8 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1528, allocations: 4 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.1529, allocations: 0 / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1529, allocations: 0 / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1529, allocations: 0 / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.1531, allocations: 109 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.1531, allocations: 81.02 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1532, allocations: 8 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.1532, allocations: 7.984 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.1532, allocations: 0 / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1533, allocations: 4 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1534, allocations: 152.2 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.864e-06/0.1534, allocations: 0 / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1536, allocations: 15.94 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009874/0.1546, allocations: 404.2 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.1548, allocations: 47.97 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1548, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.1549, allocations: 27.92 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.1552, allocations: 39.83 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.1557, allocations: 206 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.156, allocations: 0.701 MB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.156, allocations: 16.53 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.1561, allocations: 15.44 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1561, allocations: 0 / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of Templates: time 0.004558/0.1606, allocations: 1.494 MB / 489.1 MB, free: 11.94 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches