Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001538, allocations: 186.7 kB / 16.4 MB, free: 5.625 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.116/2.116, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001158/0.001158, allocations: 94.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2822/0.2822, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004753, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 58.86 MB / 490.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003474/0.1408, allocations: 1.379 MB / 491.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1427, allocations: 0.7306 MB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1429, allocations: 3.938 kB / 492.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.1432, allocations: 27.84 kB / 492.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1435, allocations: 43.88 kB / 492.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.1439, allocations: 79.77 kB / 492.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1441, allocations: 55.88 kB / 492.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.1442, allocations: 4.234 kB / 492.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1443, allocations: 43.83 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.1444, allocations: 31.84 kB / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1444, allocations: 3.938 kB / 492.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1446, allocations: 27.94 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.1446, allocations: 19.92 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.1447, allocations: 33.7 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.145, allocations: 88.02 kB / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.145, allocations: 0 / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.145, allocations: 0 / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.145, allocations: 0 / 492.8 MB, free: 6.734 MB / 330.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.0006829/0.1457, allocations: 402.9 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1458, allocations: 12.02 kB / 493.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.1458, allocations: 11.86 kB / 493.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.1462, allocations: 202.9 kB / 493.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1462, allocations: 0 / 493.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.1462, allocations: 4 kB / 493.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.1465, allocations: 57.66 kB / 493.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1465, allocations: 3.938 kB / 493.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1465, allocations: 4 kB / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1465, allocations: 0 / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1466, allocations: 23.94 kB / 493.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.1471, allocations: 284.8 kB / 493.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.1474, allocations: 62.61 kB / 493.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1475, allocations: 0 / 493.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.1477, allocations: 67.52 kB / 493.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.1477, allocations: 4 kB / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007925/0.1485, allocations: 173.2 kB / 494.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.1486, allocations: 55.41 kB / 494.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.1489, allocations: 190.1 kB / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.149, allocations: 25.7 kB / 494.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1491, allocations: 170.6 kB / 494.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.1491, allocations: 23.66 kB / 494.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.1492, allocations: 0 / 494.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1493, allocations: 318.8 kB / 494.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.1494, allocations: 16 kB / 494.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1495, allocations: 33.7 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1497, allocations: 31.92 kB / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1497, allocations: 4 kB / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003118/0.15, allocations: 89.86 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.15, allocations: 7.938 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1501, allocations: 3.938 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1501, allocations: 3.953 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1503, allocations: 24.3 kB / 495.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.1503, allocations: 0 / 495.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.266e-05/0.1504, allocations: 4 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.1504, allocations: 8 kB / 495.1 MB, free: 4.238 MB / 330.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.0001546/0.1506, allocations: 129.7 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.1506, allocations: 15.81 kB / 495.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.637e-05/0.1507, allocations: 12.72 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1507, allocations: 3.953 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1507, allocations: 0 / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1507, allocations: 7.984 kB / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.1515, allocations: 391.3 kB / 495.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1515, allocations: 0 / 495.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/0.1516, allocations: 8 kB / 495.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.1516, allocations: 3.953 kB / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1516, allocations: 4 kB / 495.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1516, allocations: 3.938 kB / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1517, allocations: 0 / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.152, allocations: 210 kB / 495.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-05/0.1521, allocations: 100.9 kB / 495.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.1522, allocations: 0 / 495.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1523, allocations: 4 kB / 495.9 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.1524, allocations: 11.98 kB / 496 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.1524, allocations: 4 kB / 496 MB, free: 3.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001932/0.1526, allocations: 139.2 kB / 496.1 MB, free: 3.094 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1526, allocations: 0 / 496.1 MB, free: 3.094 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004018/0.153, allocations: 20 kB / 496.1 MB, free: 3.074 MB / 330.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.001495/0.1546, allocations: 476.2 kB / 496.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.155, allocations: 59.97 kB / 496.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.155, allocations: 0 / 496.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1551, allocations: 27.92 kB / 496.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.1555, allocations: 27.59 kB / 496.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.1562, allocations: 272.2 kB / 497 MB, free: 2.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1566, allocations: 0.7043 MB / 497.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.1567, allocations: 19.42 kB / 497.7 MB, free: 1.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1567, allocations: 0 / 497.7 MB, free: 1.5 MB / 330.7 MB Notification: Performance of Templates: time 0.005954/0.1627, allocations: 1.894 MB / 499.6 MB, free: 15.61 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches