Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 178.3 kB / 17.41 MB, free: 4.41 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.643/1.643, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0008205/0.0008205, allocations: 74.44 kB / 271.9 MB, free: 8.258 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.3093/0.3093, allocations: 43.56 MB / 363.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004256, allocations: 16 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 58.85 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.301/0.4181, allocations: 87.59 MB / 0.5655 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.4183, allocations: 75.95 kB / 0.5656 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01423/0.4326, allocations: 5.549 MB / 0.571 GB, free: 9.242 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4326, allocations: 0 / 0.571 GB, free: 9.242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.4326, allocations: 4 kB / 0.571 GB, free: 9.238 MB / 394.7 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.0005069/0.4332, allocations: 439.4 kB / 0.5714 GB, free: 8.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4332, allocations: 8.031 kB / 0.5714 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.4333, allocations: 16.75 kB / 0.5714 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.4336, allocations: 237.8 kB / 0.5716 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4336, allocations: 4.375 kB / 0.5716 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.4336, allocations: 384 / 0.5716 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.4337, allocations: 55.92 kB / 0.5717 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.4338, allocations: 192 / 0.5717 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4338, allocations: 3.938 kB / 0.5717 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4338, allocations: 0 / 0.5717 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.524e-05/0.4339, allocations: 15.98 kB / 0.5717 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.4341, allocations: 193.7 kB / 0.5719 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.4342, allocations: 58.53 kB / 0.572 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.4343, allocations: 24.86 kB / 0.572 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.4343, allocations: 3.984 kB / 0.572 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.4345, allocations: 67.3 kB / 0.5721 GB, free: 7.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.4345, allocations: 0 / 0.5721 GB, free: 7.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002723/0.4348, allocations: 105.5 kB / 0.5722 GB, free: 7.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.4348, allocations: 51.41 kB / 0.5722 GB, free: 7.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.4351, allocations: 255.7 kB / 0.5724 GB, free: 7.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4351, allocations: 33.64 kB / 0.5725 GB, free: 7.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.4351, allocations: 108.1 kB / 0.5726 GB, free: 7.391 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.4352, allocations: 19.8 kB / 0.5726 GB, free: 7.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.4352, allocations: 0 / 0.5726 GB, free: 7.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4353, allocations: 329.3 kB / 0.5729 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-05/0.4354, allocations: 15.98 kB / 0.5729 GB, free: 7.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.4354, allocations: 33.7 kB / 0.573 GB, free: 6.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.4355, allocations: 45.64 kB / 0.573 GB, free: 6.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4355, allocations: 4 kB / 0.573 GB, free: 6.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001547/0.4357, allocations: 85.75 kB / 0.5731 GB, free: 6.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4357, allocations: 7.938 kB / 0.5731 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4357, allocations: 0 / 0.5731 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4358, allocations: 0 / 0.5731 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.557e-05/0.4358, allocations: 23.92 kB / 0.5731 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4359, allocations: 4.031 kB / 0.5731 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.4359, allocations: 4 kB / 0.5731 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.4359, allocations: 0 / 0.5731 GB, free: 6.805 MB / 394.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 (7): * Single equations (assignments): 7 * 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.0001002/0.436, allocations: 136.1 kB / 0.5733 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.4361, allocations: 19.75 kB / 0.5733 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.4363, allocations: 98.59 kB / 0.5734 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4363, allocations: 0 / 0.5734 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4363, allocations: 0 / 0.5734 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4363, allocations: 4 kB / 0.5734 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.4365, allocations: 205.5 kB / 0.5736 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4365, allocations: 3.984 kB / 0.5736 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.4365, allocations: 4 kB / 0.5736 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4365, allocations: 3.938 kB / 0.5736 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4365, allocations: 8 kB / 0.5736 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4365, allocations: 0 / 0.5736 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4365, allocations: 0 / 0.5736 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.4367, allocations: 120.9 kB / 0.5737 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.4368, allocations: 100.9 kB / 0.5738 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.4368, allocations: 7.938 kB / 0.5738 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-05/0.4369, allocations: 4 kB / 0.5738 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.4369, allocations: 7.922 kB / 0.5738 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.4369, allocations: 4.188 kB / 0.5738 GB, free: 5.996 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.4371, allocations: 203.2 kB / 0.574 GB, free: 5.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4371, allocations: 0 / 0.574 GB, free: 5.797 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002081/0.4373, allocations: 20 kB / 0.574 GB, free: 5.777 MB / 394.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0008613/0.4382, allocations: 415.3 kB / 0.5744 GB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.4384, allocations: 43.92 kB / 0.5745 GB, free: 5.418 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4384, allocations: 0 / 0.5745 GB, free: 5.418 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.916e-05/0.4384, allocations: 27.92 kB / 0.5745 GB, free: 5.391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.4387, allocations: 32.5 kB / 0.5745 GB, free: 5.363 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.4392, allocations: 322.1 kB / 0.5748 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.4395, allocations: 0.7121 MB / 0.5755 GB, free: 4.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.4395, allocations: 19.44 kB / 0.5756 GB, free: 4.266 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4395, allocations: 0 / 0.5756 GB, free: 4.266 MB / 394.7 MB Notification: Performance of Templates: time 0.003332/0.4429, allocations: 1.924 MB / 0.5774 GB, free: 2.348 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches