Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009559/0.0009559, allocations: 100.1 kB / 291.9 MB, free: 10.95 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.3946/0.3946, allocations: 44.13 MB / 386.1 MB, free: 37.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 55.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3754, allocations: 60.81 MB / 0.5064 GB, free: 38.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003142/0.3786, allocations: 1.757 MB / 0.5081 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3798, allocations: 0.8679 MB / 0.509 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.646e-05/0.3799, allocations: 0 / 0.509 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.3802, allocations: 48.56 kB / 0.509 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.3804, allocations: 59.03 kB / 0.5091 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3806, allocations: 99.77 kB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3808, allocations: 95.78 kB / 0.5093 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.143e-05/0.3809, allocations: 11.92 kB / 0.5093 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.702e-05/0.3809, allocations: 43.97 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.381, allocations: 38.17 kB / 0.5093 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.381, allocations: 2.844 kB / 0.5093 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.874e-05/0.3811, allocations: 38.7 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.3812, allocations: 34.03 kB / 0.5094 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.3812, allocations: 36.56 kB / 0.5094 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.3814, allocations: 122.7 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3814, allocations: 0 / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3814, allocations: 0 / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.3814, allocations: 0 / 0.5096 GB, free: 36.11 MB / 378.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.0004642/0.3819, allocations: 446.6 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3819, allocations: 8.438 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.382, allocations: 16.78 kB / 0.51 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.3822, allocations: 218.2 kB / 0.5102 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3822, allocations: 6.797 kB / 0.5102 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.3822, allocations: 10.72 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.3823, allocations: 51.91 kB / 0.5103 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3824, allocations: 0 / 0.5103 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3824, allocations: 4 kB / 0.5103 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3824, allocations: 2.906 kB / 0.5103 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.894e-05/0.3825, allocations: 19.86 kB / 0.5103 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.3828, allocations: 291.5 kB / 0.5106 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.3829, allocations: 57.31 kB / 0.5106 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.383, allocations: 23.75 kB / 0.5107 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.383, allocations: 4 kB / 0.5107 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.3832, allocations: 64.36 kB / 0.5107 GB, free: 34.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3832, allocations: 0 / 0.5107 GB, free: 34.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004866/0.3837, allocations: 179.3 kB / 0.5109 GB, free: 34.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.3837, allocations: 54.38 kB / 0.511 GB, free: 34.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.3839, allocations: 260.2 kB / 0.5112 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.3839, allocations: 32.73 kB / 0.5112 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.384, allocations: 112.4 kB / 0.5113 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.384, allocations: 26.58 kB / 0.5114 GB, free: 34.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.384, allocations: 33.78 kB / 0.5114 GB, free: 34.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.3841, allocations: 325 kB / 0.5117 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.3841, allocations: 23.16 kB / 0.5117 GB, free: 34.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.3842, allocations: 43.61 kB / 0.5118 GB, free: 34.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.3843, allocations: 63.31 kB / 0.5118 GB, free: 34.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3843, allocations: 0 / 0.5118 GB, free: 34.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001489/0.3845, allocations: 105 kB / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3845, allocations: 7.625 kB / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3845, allocations: 6.812 kB / 0.512 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3845, allocations: 0 / 0.512 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.3846, allocations: 14.97 kB / 0.512 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3846, allocations: 6.906 kB / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.3847, allocations: 7.969 kB / 0.512 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3847, allocations: 6.75 kB / 0.512 GB, free: 34.02 MB / 378.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/0.3847, allocations: 134 kB / 0.5121 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.3848, allocations: 9.688 kB / 0.5121 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.3848, allocations: 21.62 kB / 0.5121 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3848, allocations: 2.875 kB / 0.5121 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3848, allocations: 3.281 kB / 0.5121 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3848, allocations: 3.938 kB / 0.5122 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.3852, allocations: 405.4 kB / 0.5125 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3852, allocations: 0 / 0.5125 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.3852, allocations: 9.203 kB / 0.5125 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3852, allocations: 2.906 kB / 0.5126 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3853, allocations: 7.938 kB / 0.5126 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3853, allocations: 2.875 kB / 0.5126 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3853, allocations: 0 / 0.5126 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.3856, allocations: 0.7934 MB / 0.5133 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.3857, allocations: 90.7 kB / 0.5134 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3857, allocations: 3.469 kB / 0.5134 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.3858, allocations: 2.938 kB / 0.5134 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.3858, allocations: 14 kB / 0.5134 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.3858, allocations: 5.219 kB / 0.5134 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3859, allocations: 202.1 kB / 0.5136 GB, free: 32.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3859, allocations: 0 / 0.5136 GB, free: 32.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.3863, allocations: 25.22 kB / 0.5137 GB, free: 32.52 MB / 378.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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008735/0.3872, allocations: 474.7 kB / 0.5141 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.3873, allocations: 65.28 kB / 0.5142 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3874, allocations: 0 / 0.5142 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.367e-05/0.3874, allocations: 28.22 kB / 0.5142 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.3878, allocations: 29.69 kB / 0.5142 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.3883, allocations: 437.9 kB / 0.5147 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.3885, allocations: 0.7249 MB / 0.5154 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.4e-05/0.3885, allocations: 11.55 kB / 0.5154 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.3886, allocations: 18.78 kB / 0.5154 GB, free: 31.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3886, allocations: 0 / 0.5154 GB, free: 31.2 MB / 378.7 MB Notification: Performance of Templates: time 0.004022/0.3926, allocations: 1.708 MB / 0.5171 GB, free: 31.01 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches