Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001436, allocations: 178.6 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007634/0.0007634, allocations: 86.3 kB / 270.9 MB, free: 8.355 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.3581/0.3581, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 16 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002286/0.1247, allocations: 1.398 MB / 491.6 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.126, allocations: 0.7422 MB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.1261, allocations: 3.938 kB / 492.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.1264, allocations: 51.86 kB / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1267, allocations: 51.81 kB / 492.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.127, allocations: 71.86 kB / 492.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.1272, allocations: 91.69 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.1273, allocations: 16.19 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1274, allocations: 43.78 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/0.1275, allocations: 27.86 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1275, allocations: 0 / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1276, allocations: 39.97 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.1277, allocations: 27.86 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.1277, allocations: 41.64 kB / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1279, allocations: 100.1 kB / 492.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1279, allocations: 0 / 492.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1279, allocations: 0 / 492.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.128, allocations: 0 / 492.9 MB, free: 8.488 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.0005826/0.1285, allocations: 426.6 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1286, allocations: 16.02 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.1287, allocations: 11.81 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1289, allocations: 214.9 kB / 493.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.129, allocations: 0 / 493.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.129, allocations: 0 / 493.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1291, allocations: 61.61 kB / 493.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1292, allocations: 3.906 kB / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1292, allocations: 0 / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1292, allocations: 3.953 kB / 493.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.029e-05/0.1293, allocations: 23.92 kB / 493.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.1297, allocations: 292.9 kB / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.1299, allocations: 58.67 kB / 494 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.1299, allocations: 16.86 kB / 494 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.13, allocations: 0 / 494 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.1302, allocations: 79.28 kB / 494.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1302, allocations: 0 / 494.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005489/0.1307, allocations: 181 kB / 494.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1308, allocations: 51.41 kB / 494.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.1311, allocations: 258.5 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1311, allocations: 33.69 kB / 494.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.1312, allocations: 116 kB / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.1312, allocations: 19.8 kB / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.1312, allocations: 3.938 kB / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1313, allocations: 334.8 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.1314, allocations: 15.98 kB / 495.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.1315, allocations: 37.7 kB / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.15e-05/0.1316, allocations: 24 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1316, allocations: 0 / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.1318, allocations: 105.4 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1318, allocations: 12.03 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1318, allocations: 0 / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1318, allocations: 0 / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.1319, allocations: 12 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1319, allocations: 11.92 kB / 495.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.132, allocations: 4 kB / 495.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.132, allocations: 4 kB / 495.3 MB, free: 5.875 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.0001181/0.1321, allocations: 133.8 kB / 495.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.1322, allocations: 19.77 kB / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.1322, allocations: 21.39 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1322, allocations: 4 kB / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1322, allocations: 0 / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1322, allocations: 3.938 kB / 495.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.1327, allocations: 407.1 kB / 495.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1327, allocations: 3.984 kB / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.1327, allocations: 12 kB / 495.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1328, allocations: 0 / 495.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1328, allocations: 12.02 kB / 495.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1328, allocations: 0 / 495.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1328, allocations: 0 / 495.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.133, allocations: 196.2 kB / 496.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.1331, allocations: 100.9 kB / 496.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1331, allocations: 4 kB / 496.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.1332, allocations: 4 kB / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.1332, allocations: 11.98 kB / 496.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1333, allocations: 4 kB / 496.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.1334, allocations: 200 kB / 496.4 MB, free: 4.652 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1335, allocations: 0 / 496.4 MB, free: 4.652 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000257/0.1337, allocations: 23.98 kB / 496.5 MB, free: 4.629 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.0009796/0.1347, allocations: 480.6 kB / 496.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1349, allocations: 59.89 kB / 497 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1349, allocations: 0 / 497 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7e-05/0.135, allocations: 27.94 kB / 497 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1353, allocations: 36.09 kB / 497 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.1359, allocations: 332.5 kB / 497.4 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1362, allocations: 0.7199 MB / 498.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.1362, allocations: 15.44 kB / 498.1 MB, free: 2.965 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1362, allocations: 0 / 498.1 MB, free: 2.965 MB / 378.7 MB Notification: Performance of Templates: time 0.004068/0.1403, allocations: 2.023 MB / 0.4884 GB, free: 0.9453 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches