Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.499/1.499, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007195/0.0007195, allocations: 81.44 kB / 271.9 MB, free: 8.281 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.3095/0.3095, allocations: 43.56 MB / 363.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 16 kB / 432.6 MB, free: 5.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 58.85 MB / 491.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2875/0.3959, allocations: 87.87 MB / 0.5657 GB, free: 14.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.3962, allocations: 75.95 kB / 0.5658 GB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01998/0.4162, allocations: 7.696 MB / 0.5733 GB, free: 6.715 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4162, allocations: 0 / 0.5733 GB, free: 6.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.4162, allocations: 4 kB / 0.5733 GB, free: 6.711 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006703/0.4169, allocations: 0.5392 MB / 0.5739 GB, free: 6.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.417, allocations: 12.03 kB / 0.5739 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.417, allocations: 28.56 kB / 0.5739 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.4174, allocations: 308 kB / 0.5742 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4175, allocations: 384 / 0.5742 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.4175, allocations: 16.3 kB / 0.5742 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.4177, allocations: 101.1 kB / 0.5743 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4177, allocations: 192 / 0.5743 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.4177, allocations: 11.92 kB / 0.5743 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4177, allocations: 0 / 0.5743 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.4179, allocations: 47.91 kB / 0.5744 GB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.4184, allocations: 461 kB / 0.5748 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.4187, allocations: 121.2 kB / 0.5749 GB, free: 4.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.4188, allocations: 49.69 kB / 0.575 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.4188, allocations: 0 / 0.575 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.419, allocations: 118 kB / 0.5751 GB, free: 4.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.419, allocations: 0 / 0.5751 GB, free: 4.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008865/0.4199, allocations: 371.8 kB / 0.5754 GB, free: 4.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.42, allocations: 85.03 kB / 0.5755 GB, free: 4.258 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.4205, allocations: 428.5 kB / 0.5759 GB, free: 3.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.4205, allocations: 29.7 kB / 0.5759 GB, free: 3.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/0.4206, allocations: 156.3 kB / 0.5761 GB, free: 3.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.4206, allocations: 51.3 kB / 0.5761 GB, free: 3.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.4207, allocations: 0 / 0.5761 GB, free: 3.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4208, allocations: 342.8 kB / 0.5765 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.4209, allocations: 51.41 kB / 0.5765 GB, free: 3.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.421, allocations: 73.81 kB / 0.5766 GB, free: 3.117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.4212, allocations: 127.3 kB / 0.5767 GB, free: 2.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.4212, allocations: 0 / 0.5767 GB, free: 2.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003183/0.4216, allocations: 181.5 kB / 0.5769 GB, free: 2.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4216, allocations: 8.062 kB / 0.5769 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4216, allocations: 4 kB / 0.5769 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4216, allocations: 0.75 kB / 0.5769 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.4218, allocations: 35.92 kB / 0.5769 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4218, allocations: 4.062 kB / 0.5769 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.61e-05/0.4219, allocations: 7.984 kB / 0.5769 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.4219, allocations: 12 kB / 0.577 GB, free: 2.727 MB / 394.7 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001498/0.4221, allocations: 170.1 kB / 0.5771 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.4221, allocations: 39.62 kB / 0.5772 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.4225, allocations: 216.1 kB / 0.5774 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4226, allocations: 4 kB / 0.5774 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4226, allocations: 0 / 0.5774 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4226, allocations: 3.984 kB / 0.5774 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/0.4234, allocations: 0.6866 MB / 0.578 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4234, allocations: 3.984 kB / 0.578 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.4235, allocations: 20 kB / 0.5781 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4235, allocations: 0 / 0.5781 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.4236, allocations: 15.92 kB / 0.5781 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4236, allocations: 0 / 0.5781 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4236, allocations: 4 kB / 0.5781 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.424, allocations: 380 kB / 0.5784 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.4241, allocations: 116.8 kB / 0.5786 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.4242, allocations: 19.91 kB / 0.5786 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.4243, allocations: 4 kB / 0.5786 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.4244, allocations: 15.98 kB / 0.5786 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.4244, allocations: 11.98 kB / 0.5786 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003431/0.4248, allocations: 315 kB / 0.5789 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4248, allocations: 0 / 0.5789 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003639/0.4252, allocations: 59.94 kB / 0.579 GB, free: 0.5469 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001083/0.4262, allocations: 489.7 kB / 0.5794 GB, free: 168 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.4266, allocations: 127.8 kB / 0.5796 GB, free: 40 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4266, allocations: 0 / 0.5796 GB, free: 40 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.4268, allocations: 67.98 kB / 0.5796 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.4273, allocations: 57.73 kB / 0.5797 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.4282, allocations: 0.5918 MB / 0.5803 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4285, allocations: 0.7635 MB / 0.581 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.4286, allocations: 35.42 kB / 0.581 GB, free: 14.47 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4286, allocations: 0 / 0.581 GB, free: 14.47 MB / 410.7 MB Notification: Performance of Templates: time 0.005603/0.4342, allocations: 3.433 MB / 0.5844 GB, free: 11.04 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time