Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009422/0.0009422, allocations: 174.4 kB / 8.74 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.278/1.278, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0008866/0.0008865, allocations: 101.8 kB / 281.6 MB, free: 5.312 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.1841/0.1841, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.355e-05, allocations: 8 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1295, allocations: 61.92 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5705, allocations: 88.51 MB / 0.5811 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.5707, allocations: 75.95 kB / 0.5812 GB, free: 7.926 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01581/0.5865, allocations: 5.474 MB / 0.5865 GB, free: 2.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5866, allocations: 0 / 0.5865 GB, free: 2.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.5866, allocations: 3.938 kB / 0.5865 GB, free: 2.457 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.0005142/0.5871, allocations: 402.2 kB / 0.5869 GB, free: 2.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.5872, allocations: 15.98 kB / 0.5869 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.5872, allocations: 7.906 kB / 0.587 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.5876, allocations: 219.5 kB / 0.5872 GB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.5876, allocations: 3.953 kB / 0.5872 GB, free: 1.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.5876, allocations: 4 kB / 0.5872 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.216e-05/0.5877, allocations: 19.98 kB / 0.5872 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.062e-05/0.5878, allocations: 49.62 kB / 0.5872 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5878, allocations: 4 kB / 0.5872 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5879, allocations: 3.938 kB / 0.5872 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5879, allocations: 3.984 kB / 0.5872 GB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.5883, allocations: 273.5 kB / 0.5875 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.5884, allocations: 46.69 kB / 0.5876 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.5884, allocations: 16.98 kB / 0.5876 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.5885, allocations: 4 kB / 0.5876 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.5886, allocations: 67.33 kB / 0.5876 GB, free: 1.184 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.5886, allocations: 4 kB / 0.5876 GB, free: 1.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004482/0.5891, allocations: 145.3 kB / 0.5878 GB, free: 1.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.5891, allocations: 51.41 kB / 0.5878 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.5893, allocations: 187.5 kB / 0.588 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.5893, allocations: 25.7 kB / 0.588 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.5894, allocations: 100.1 kB / 0.5881 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.5894, allocations: 27.64 kB / 0.5882 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.5894, allocations: 0 / 0.5882 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5896, allocations: 322.8 kB / 0.5885 GB, free: 296 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.5896, allocations: 24 kB / 0.5885 GB, free: 272 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.601e-05/0.5897, allocations: 33.7 kB / 0.5885 GB, free: 232 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.16e-05/0.5897, allocations: 28.02 kB / 0.5885 GB, free: 204 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.5897, allocations: 0 / 0.5885 GB, free: 204 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001392/0.5899, allocations: 89.52 kB / 0.5886 GB, free: 108 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5899, allocations: 9.406 kB / 0.5886 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5899, allocations: 192 / 0.5886 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5899, allocations: 0 / 0.5886 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.59, allocations: 20.03 kB / 0.5887 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5901, allocations: 4 kB / 0.5887 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.5901, allocations: 3.984 kB / 0.5887 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.5901, allocations: 4.188 kB / 0.5887 GB, free: 68 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 0.0001061/0.5902, allocations: 114.3 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.5903, allocations: 15.75 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.5905, allocations: 107.4 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5905, allocations: 0 / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5905, allocations: 8 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.5905, allocations: 0 / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.591, allocations: 383.8 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.591, allocations: 0 / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.591, allocations: 11.94 kB / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.591, allocations: 0 / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.591, allocations: 7.938 kB / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.591, allocations: 0 / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5911, allocations: 8.016 kB / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.5913, allocations: 213.8 kB / 0.5895 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.5913, allocations: 93.02 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.5914, allocations: 4 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.5915, allocations: 3.984 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.5915, allocations: 8 kB / 0.5896 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.5915, allocations: 8 kB / 0.5896 GB, free: 15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.5917, allocations: 140 kB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5917, allocations: 0 / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002654/0.5919, allocations: 31.92 kB / 0.5898 GB, free: 14.83 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.0009589/0.5929, allocations: 391.8 kB / 0.5901 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.5931, allocations: 51.92 kB / 0.5902 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5931, allocations: 0 / 0.5902 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.038e-05/0.5931, allocations: 35.92 kB / 0.5902 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.5934, allocations: 28.36 kB / 0.5903 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.5938, allocations: 165.9 kB / 0.5904 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.5942, allocations: 0.7157 MB / 0.5911 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.236e-05/0.5943, allocations: 24.41 kB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.5943, allocations: 19.44 kB / 0.5912 GB, free: 13.44 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5943, allocations: 3.938 kB / 0.5912 GB, free: 13.44 MB / 410.7 MB Notification: Performance of Templates: time 0.00432/0.5987, allocations: 1.641 MB / 0.5928 GB, free: 11.81 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches