Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 169.8 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.5 MB / 230.7 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009299/0.0009298, allocations: 98.06 kB / 281.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1925/0.1925, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.306e-05, allocations: 8 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1218, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4089/0.5308, allocations: 88.52 MB / 0.5811 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.531, allocations: 71.97 kB / 0.5812 GB, free: 7.941 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01507/0.5461, allocations: 5.449 MB / 0.5865 GB, free: 2.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5462, allocations: 0 / 0.5865 GB, free: 2.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.5462, allocations: 0 / 0.5865 GB, free: 2.5 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.0004151/0.5466, allocations: 390.2 kB / 0.5869 GB, free: 2.074 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5467, allocations: 15.98 kB / 0.5869 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.5467, allocations: 7.906 kB / 0.5869 GB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.547, allocations: 218.7 kB / 0.5871 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.547, allocations: 7.953 kB / 0.5871 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.547, allocations: 0 / 0.5871 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.293e-05/0.5471, allocations: 19.98 kB / 0.5871 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.218e-05/0.5472, allocations: 49.69 kB / 0.5872 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5472, allocations: 0 / 0.5872 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5473, allocations: 7.922 kB / 0.5872 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5473, allocations: 0 / 0.5872 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.5476, allocations: 273.4 kB / 0.5875 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/0.5477, allocations: 46.69 kB / 0.5875 GB, free: 1.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.5478, allocations: 20.97 kB / 0.5875 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.5478, allocations: 0 / 0.5875 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.5479, allocations: 75.33 kB / 0.5876 GB, free: 1.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.5479, allocations: 0 / 0.5876 GB, free: 1.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004098/0.5483, allocations: 141.2 kB / 0.5877 GB, free: 1.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.5484, allocations: 55.41 kB / 0.5878 GB, free: 1.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.5485, allocations: 161.4 kB / 0.5879 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.5486, allocations: 25.7 kB / 0.588 GB, free: 0.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.5486, allocations: 104.1 kB / 0.5881 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.5487, allocations: 19.7 kB / 0.5881 GB, free: 0.707 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.5487, allocations: 8 kB / 0.5881 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.5488, allocations: 318.8 kB / 0.5884 GB, free: 388 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.5488, allocations: 23.94 kB / 0.5884 GB, free: 364 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.5489, allocations: 30.47 kB / 0.5884 GB, free: 328 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.5489, allocations: 27.94 kB / 0.5885 GB, free: 300 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.5489, allocations: 0 / 0.5885 GB, free: 300 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000136/0.5491, allocations: 93.73 kB / 0.5886 GB, free: 200 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.5491, allocations: 12.03 kB / 0.5886 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5491, allocations: 3.938 kB / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5491, allocations: 3.938 kB / 0.5886 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.5492, allocations: 16.17 kB / 0.5886 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.5492, allocations: 4 kB / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.5493, allocations: 7.938 kB / 0.5886 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.5493, allocations: 4 kB / 0.5886 GB, free: 148 kB / 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 () * 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 6.291e-05/0.5493, allocations: 108.9 kB / 0.5887 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.5494, allocations: 11.89 kB / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.5496, allocations: 110.2 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5496, allocations: 0 / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5496, allocations: 0 / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.5496, allocations: 3.984 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.55, allocations: 379.8 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.55, allocations: 0 / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.55, allocations: 15.92 kB / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5501, allocations: 4.031 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.5501, allocations: 8 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5501, allocations: 0 / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5501, allocations: 0 / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.5503, allocations: 213.9 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.5504, allocations: 89.02 kB / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.5504, allocations: 3.984 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.5505, allocations: 8 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.5505, allocations: 11.92 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.5505, allocations: 4 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.5506, allocations: 133 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5506, allocations: 0 / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.5509, allocations: 27.98 kB / 0.5897 GB, free: 14.93 MB / 410.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) * 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.0007975/0.5517, allocations: 394.7 kB / 0.5901 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.5518, allocations: 47.94 kB / 0.5901 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5518, allocations: 8.062 kB / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.042e-05/0.5519, allocations: 31.92 kB / 0.5902 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.5522, allocations: 27.84 kB / 0.5902 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.5525, allocations: 153.4 kB / 0.5903 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.5528, allocations: 0.708 MB / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.346e-05/0.5528, allocations: 28.77 kB / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.5529, allocations: 19.44 kB / 0.5911 GB, free: 13.55 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5529, allocations: 7.875 kB / 0.5911 GB, free: 13.54 MB / 410.7 MB Notification: Performance of Templates: time 0.003775/0.5567, allocations: 1.616 MB / 0.5926 GB, free: 11.93 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches