Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.0009232, allocations: 93.42 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 171.3 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2278/0.2278, allocations: 44.24 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003522, allocations: 22.39 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002604/0.1338, allocations: 1.503 MB / 473.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.1362, allocations: 1.507 MB / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-05/0.1363, allocations: 0 / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.1367, allocations: 47.83 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.137, allocations: 75.67 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.1375, allocations: 154.4 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.1378, allocations: 171.5 kB / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.1379, allocations: 13.55 kB / 475.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.138, allocations: 79.56 kB / 475.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.1383, allocations: 71.62 kB / 475.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1383, allocations: 4 kB / 475.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1385, allocations: 55.98 kB / 475.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.1385, allocations: 31.89 kB / 476 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.1386, allocations: 85.25 kB / 476 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.1389, allocations: 167.7 kB / 476.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1389, allocations: 0 / 476.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.139, allocations: 0 / 476.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.139, allocations: 4 kB / 476.2 MB, free: 9.383 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007795/0.1397, allocations: 445.1 kB / 476.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1398, allocations: 8.031 kB / 476.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.1399, allocations: 16.75 kB / 476.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.1403, allocations: 244 kB / 476.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.1403, allocations: 4.312 kB / 476.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1404, allocations: 12.11 kB / 476.9 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.1406, allocations: 89.09 kB / 477 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1406, allocations: 4 kB / 477 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1407, allocations: 0 / 477 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1407, allocations: 4 kB / 477 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1408, allocations: 35.91 kB / 477.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.1411, allocations: 210.5 kB / 477.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.1414, allocations: 109.2 kB / 477.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.1415, allocations: 41.64 kB / 477.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.1415, allocations: 7.984 kB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.1418, allocations: 109 kB / 477.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1418, allocations: 4 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000493/0.1423, allocations: 161.4 kB / 477.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.571e-05/0.1424, allocations: 136.5 kB / 477.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.1427, allocations: 211.7 kB / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1427, allocations: 33.7 kB / 478.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.1428, allocations: 108.1 kB / 478.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.1429, allocations: 23.7 kB / 478.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1429, allocations: 17.72 kB / 478.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.143, allocations: 338.8 kB / 478.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.1431, allocations: 27.98 kB / 478.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1433, allocations: 68.39 kB / 478.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.1435, allocations: 95.88 kB / 478.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1435, allocations: 0 / 478.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003002/0.1438, allocations: 137.4 kB / 478.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1438, allocations: 4 kB / 478.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1438, allocations: 7.938 kB / 478.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1438, allocations: 3.984 kB / 478.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.144, allocations: 23.92 kB / 478.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.144, allocations: 4 kB / 478.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1441, allocations: 19.89 kB / 478.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1441, allocations: 8 kB / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001335/0.1443, allocations: 134.3 kB / 479.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.1443, allocations: 19.8 kB / 479.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.1444, allocations: 17 kB / 479.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1444, allocations: 0 / 479.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1444, allocations: 0 / 479.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1444, allocations: 3.984 kB / 479.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.1446, allocations: 225.5 kB / 479.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1446, allocations: 0 / 479.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.1447, allocations: 8 kB / 479.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1447, allocations: 0 / 479.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1447, allocations: 4 kB / 479.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1447, allocations: 3.984 kB / 479.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1447, allocations: 0 / 479.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.145, allocations: 177.6 kB / 479.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.1451, allocations: 100.8 kB / 479.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.1451, allocations: 4.125 kB / 479.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.1452, allocations: 15.98 kB / 479.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.1453, allocations: 4 kB / 479.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.1453, allocations: 7.984 kB / 479.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.1455, allocations: 152.2 kB / 479.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1455, allocations: 0 / 479.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1458, allocations: 43.98 kB / 479.8 MB, free: 5.359 MB / 350.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00119/0.147, allocations: 458.3 kB / 480.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.1473, allocations: 83.84 kB / 480.4 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1473, allocations: 4.125 kB / 480.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1474, allocations: 39.97 kB / 480.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1478, allocations: 47.91 kB / 480.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.1484, allocations: 302.8 kB / 480.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1487, allocations: 0.7166 MB / 481.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.1488, allocations: 29.53 kB / 481.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.1489, allocations: 27.42 kB / 481.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1489, allocations: 0 / 481.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of Templates: time 0.006187/0.1551, allocations: 2.521 MB / 484 MB, free: 1.289 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches