Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.001219, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.562/1.562, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0008043/0.0008042, allocations: 90.36 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.314/0.314, allocations: 43.56 MB / 363.8 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003817, allocations: 23.98 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.113, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2943/0.4074, allocations: 87.73 MB / 0.5656 GB, free: 14.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.4076, allocations: 71.97 kB / 0.5657 GB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01393/0.4216, allocations: 5.301 MB / 0.5708 GB, free: 9.223 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4216, allocations: 0 / 0.5708 GB, free: 9.223 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4216, allocations: 0 / 0.5708 GB, free: 9.223 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004689/0.4221, allocations: 419 kB / 0.5712 GB, free: 8.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.4221, allocations: 8.031 kB / 0.5713 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.4222, allocations: 8.844 kB / 0.5713 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.4224, allocations: 219.1 kB / 0.5715 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.4225, allocations: 4.375 kB / 0.5715 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.4225, allocations: 4.375 kB / 0.5715 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.4227, allocations: 62.16 kB / 0.5715 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4227, allocations: 192 / 0.5715 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4227, allocations: 3.938 kB / 0.5715 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4227, allocations: 4 kB / 0.5715 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.4228, allocations: 23.92 kB / 0.5716 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.4231, allocations: 288.9 kB / 0.5718 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.4233, allocations: 70.53 kB / 0.5719 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.4234, allocations: 24.84 kB / 0.5719 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.4234, allocations: 0 / 0.5719 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.4235, allocations: 70.83 kB / 0.572 GB, free: 7.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4235, allocations: 4 kB / 0.572 GB, free: 7.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005024/0.424, allocations: 169.2 kB / 0.5722 GB, free: 7.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.4241, allocations: 55.41 kB / 0.5722 GB, free: 7.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.4243, allocations: 186.2 kB / 0.5724 GB, free: 7.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.4243, allocations: 25.7 kB / 0.5724 GB, free: 7.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.4243, allocations: 100.1 kB / 0.5725 GB, free: 7.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.4244, allocations: 31.62 kB / 0.5725 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.4244, allocations: 0 / 0.5725 GB, free: 7.281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.4245, allocations: 334.8 kB / 0.5729 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.4245, allocations: 16 kB / 0.5729 GB, free: 6.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.268e-05/0.4246, allocations: 38.39 kB / 0.5729 GB, free: 6.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.4247, allocations: 65.77 kB / 0.573 GB, free: 6.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4247, allocations: 0 / 0.573 GB, free: 6.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.4249, allocations: 105.4 kB / 0.5731 GB, free: 6.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.425, allocations: 12.22 kB / 0.5731 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.425, allocations: 0 / 0.5731 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.425, allocations: 3.938 kB / 0.5731 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.4251, allocations: 15.98 kB / 0.5731 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.4251, allocations: 4 kB / 0.5731 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.4251, allocations: 0 / 0.5731 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4251, allocations: 4 kB / 0.5731 GB, free: 6.668 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 (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 9.811e-05/0.4253, allocations: 140.2 kB / 0.5733 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.4253, allocations: 15.91 kB / 0.5733 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.4255, allocations: 118.3 kB / 0.5734 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4255, allocations: 0 / 0.5734 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4256, allocations: 0 / 0.5734 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4256, allocations: 0 / 0.5734 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.426, allocations: 411.2 kB / 0.5738 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.426, allocations: 0 / 0.5738 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.4261, allocations: 16.02 kB / 0.5738 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4261, allocations: 7.938 kB / 0.5738 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4261, allocations: 0 / 0.5738 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4261, allocations: 0 / 0.5738 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4261, allocations: 7.938 kB / 0.5738 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.4263, allocations: 208.1 kB / 0.574 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.4264, allocations: 93.88 kB / 0.5741 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.4264, allocations: 4 kB / 0.5741 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.4265, allocations: 8 kB / 0.5741 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.4266, allocations: 11.92 kB / 0.5741 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.4266, allocations: 4 kB / 0.5741 GB, free: 5.531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.4267, allocations: 140.8 kB / 0.5743 GB, free: 5.395 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4267, allocations: 4 kB / 0.5743 GB, free: 5.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000254/0.427, allocations: 35.94 kB / 0.5743 GB, free: 5.355 MB / 394.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 (9): * Single equations (assignments): 7 * 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.00097/0.4279, allocations: 487.3 kB / 0.5748 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.4281, allocations: 55.98 kB / 0.5748 GB, free: 4.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4281, allocations: 3.938 kB / 0.5748 GB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.4282, allocations: 32.11 kB / 0.5748 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.4285, allocations: 27.97 kB / 0.5749 GB, free: 4.859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.429, allocations: 286.4 kB / 0.5751 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.4293, allocations: 0.7043 MB / 0.5758 GB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.4293, allocations: 19.44 kB / 0.5759 GB, free: 3.801 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4293, allocations: 0 / 0.5759 GB, free: 3.801 MB / 394.7 MB Notification: Performance of Templates: time 0.003286/0.4326, allocations: 1.911 MB / 0.5777 GB, free: 1.906 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches