Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001626, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.209/2.209, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001182/0.001181, allocations: 91.34 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5927/0.5927, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004852, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1388, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002717/0.1416, allocations: 1.39 MB / 491.6 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1434, allocations: 0.7306 MB / 492.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.534e-05/0.1436, allocations: 0 / 492.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.144, allocations: 83.7 kB / 492.4 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.1442, allocations: 63.84 kB / 492.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.1446, allocations: 79.77 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1448, allocations: 59.92 kB / 492.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.145, allocations: 16.2 kB / 492.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1451, allocations: 43.78 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1453, allocations: 47.83 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1453, allocations: 4 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1454, allocations: 31.92 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.1455, allocations: 19.91 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.1456, allocations: 37.64 kB / 492.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.1458, allocations: 92.08 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.1458, allocations: 0 / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1458, allocations: 0 / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1458, allocations: 0 / 492.9 MB, free: 8.52 MB / 378.7 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.0006545/0.1465, allocations: 418.7 kB / 493.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1466, allocations: 8.031 kB / 493.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.1466, allocations: 15.8 kB / 493.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1469, allocations: 202.9 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.147, allocations: 4 kB / 493.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.147, allocations: 0 / 493.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1472, allocations: 57.61 kB / 493.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1472, allocations: 3.984 kB / 493.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1472, allocations: 0 / 493.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1473, allocations: 11.95 kB / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1474, allocations: 15.98 kB / 493.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.1478, allocations: 281 kB / 493.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.1481, allocations: 58.62 kB / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.1481, allocations: 7.969 kB / 494 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.1484, allocations: 71.47 kB / 494 MB, free: 7.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.1484, allocations: 0 / 494 MB, free: 7.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007897/0.1492, allocations: 173.1 kB / 494.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.1493, allocations: 59.39 kB / 494.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.1496, allocations: 210.4 kB / 494.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1496, allocations: 25.7 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.1497, allocations: 166.6 kB / 494.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.1498, allocations: 27.64 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.1498, allocations: 4 kB / 494.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1499, allocations: 310.8 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.553e-05/0.15, allocations: 23.98 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1502, allocations: 37.64 kB / 495 MB, free: 6.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.68e-05/0.1503, allocations: 20 kB / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1503, allocations: 4 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000295/0.1506, allocations: 93.66 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.1506, allocations: 11.95 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1507, allocations: 0 / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1507, allocations: 0 / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1508, allocations: 20.25 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1509, allocations: 4 kB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.151, allocations: 7.984 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.151, allocations: 8 kB / 495.2 MB, free: 5.984 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.1511, allocations: 130 kB / 495.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.1512, allocations: 11.81 kB / 495.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.859e-05/0.1513, allocations: 29.28 kB / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1513, allocations: 0 / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1513, allocations: 0 / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1513, allocations: 0 / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/0.152, allocations: 395.3 kB / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.152, allocations: 8.016 kB / 495.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.1521, allocations: 15.94 kB / 495.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1521, allocations: 0 / 495.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1521, allocations: 4 kB / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1521, allocations: 0 / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1521, allocations: 0 / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.1525, allocations: 222.1 kB / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.1525, allocations: 89 kB / 496.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.1526, allocations: 4 kB / 496.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1527, allocations: 4 kB / 496.1 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.1528, allocations: 7.984 kB / 496.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.1528, allocations: 4 kB / 496.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001997/0.153, allocations: 156.2 kB / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.153, allocations: 0 / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004007/0.1534, allocations: 27.98 kB / 496.3 MB, free: 4.785 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001361/0.1548, allocations: 471.8 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.1552, allocations: 47.98 kB / 496.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1552, allocations: 4.062 kB / 496.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1553, allocations: 35.92 kB / 496.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1557, allocations: 31.86 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006864/0.1564, allocations: 279.9 kB / 497.1 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1568, allocations: 0.7121 MB / 497.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.1569, allocations: 15.44 kB / 497.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1569, allocations: 3.938 kB / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of Templates: time 0.005971/0.1628, allocations: 1.941 MB / 499.8 MB, free: 1.258 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches