Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.678/1.678, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007993/0.0007994, allocations: 104.5 kB / 271.3 MB, free: 8.242 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.3849/0.3849, allocations: 43.56 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 12 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 58.84 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3677/0.4982, allocations: 87.81 MB / 0.5657 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.4984, allocations: 71.97 kB / 0.5658 GB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01632/0.5148, allocations: 5.969 MB / 0.5716 GB, free: 8.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5148, allocations: 0 / 0.5716 GB, free: 8.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.5149, allocations: 3.188 kB / 0.5716 GB, free: 8.051 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005951/0.5155, allocations: 449.7 kB / 0.572 GB, free: 7.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5155, allocations: 8.031 kB / 0.572 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.5156, allocations: 12.84 kB / 0.5721 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.5159, allocations: 253.2 kB / 0.5723 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.5159, allocations: 384 / 0.5723 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.516, allocations: 4.375 kB / 0.5723 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.5161, allocations: 74.16 kB / 0.5724 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5162, allocations: 4.188 kB / 0.5724 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5162, allocations: 3.938 kB / 0.5724 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5162, allocations: 0 / 0.5724 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.5163, allocations: 39.95 kB / 0.5724 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.5168, allocations: 328.7 kB / 0.5727 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.517, allocations: 86.66 kB / 0.5728 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/0.5171, allocations: 32.83 kB / 0.5728 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.5171, allocations: 0 / 0.5728 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.5173, allocations: 71.42 kB / 0.5729 GB, free: 6.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.5173, allocations: 4 kB / 0.5729 GB, free: 6.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006714/0.518, allocations: 233 kB / 0.5731 GB, free: 6.309 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.518, allocations: 59.34 kB / 0.5732 GB, free: 6.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.5183, allocations: 248.7 kB / 0.5734 GB, free: 5.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5183, allocations: 29.7 kB / 0.5735 GB, free: 5.949 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.5184, allocations: 113.5 kB / 0.5736 GB, free: 5.836 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.5185, allocations: 35.53 kB / 0.5736 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.5185, allocations: 4 kB / 0.5736 GB, free: 5.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5186, allocations: 334.8 kB / 0.5739 GB, free: 5.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.5187, allocations: 31.98 kB / 0.574 GB, free: 5.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.796e-05/0.5188, allocations: 49.7 kB / 0.574 GB, free: 5.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.5189, allocations: 88.25 kB / 0.5741 GB, free: 5.285 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.519, allocations: 0 / 0.5741 GB, free: 5.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002264/0.5192, allocations: 137.4 kB / 0.5742 GB, free: 5.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5192, allocations: 4 kB / 0.5742 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5192, allocations: 3.984 kB / 0.5742 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.5192, allocations: 0 / 0.5742 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.5193, allocations: 27.97 kB / 0.5743 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5194, allocations: 0 / 0.5743 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.5194, allocations: 12.64 kB / 0.5743 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.5194, allocations: 4 kB / 0.5743 GB, free: 5.094 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 (13): * Single equations (assignments): 13 * 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.000105/0.5195, allocations: 138.3 kB / 0.5744 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.5196, allocations: 11.91 kB / 0.5744 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.5199, allocations: 171.3 kB / 0.5746 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5199, allocations: 8 kB / 0.5746 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5199, allocations: 0 / 0.5746 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5199, allocations: 3.984 kB / 0.5746 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005815/0.5205, allocations: 483.1 kB / 0.575 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5205, allocations: 7.938 kB / 0.5751 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.5206, allocations: 15.98 kB / 0.5751 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5206, allocations: 0 / 0.5751 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.5206, allocations: 12.03 kB / 0.5751 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5206, allocations: 3.938 kB / 0.5751 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5206, allocations: 3.938 kB / 0.5751 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.5209, allocations: 240.2 kB / 0.5753 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.521, allocations: 104.9 kB / 0.5754 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.521, allocations: 0 / 0.5754 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.5211, allocations: 15.94 kB / 0.5754 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.5212, allocations: 7.984 kB / 0.5754 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.5212, allocations: 8 kB / 0.5754 GB, free: 3.773 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.5214, allocations: 192.2 kB / 0.5756 GB, free: 3.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5214, allocations: 0 / 0.5756 GB, free: 3.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.5217, allocations: 39.94 kB / 0.5757 GB, free: 3.547 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 (13): * Single equations (assignments): 11 * 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.0009914/0.5227, allocations: 488.6 kB / 0.5761 GB, free: 3.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.5229, allocations: 87.91 kB / 0.5762 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5229, allocations: 0 / 0.5762 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.168e-05/0.523, allocations: 44.2 kB / 0.5763 GB, free: 3.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.5233, allocations: 28.31 kB / 0.5763 GB, free: 3.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.5239, allocations: 361 kB / 0.5766 GB, free: 2.633 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.5242, allocations: 0.7199 MB / 0.5773 GB, free: 1.887 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.137e-05/0.5243, allocations: 28.61 kB / 0.5774 GB, free: 1.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.5243, allocations: 23.44 kB / 0.5774 GB, free: 1.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5243, allocations: 0 / 0.5774 GB, free: 1.84 MB / 394.7 MB Notification: Performance of Templates: time 0.004507/0.5288, allocations: 2.006 MB / 0.5793 GB, free: 15.85 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches