Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001085, 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.309/1.309, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001006/0.001006, allocations: 93.06 kB / 291.9 MB, free: 10.96 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.3776/0.3776, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.00109, allocations: 59.91 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4317, allocations: 60.81 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.005632/0.4374, allocations: 1.755 MB / 0.5081 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.4393, allocations: 0.8678 MB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.4395, allocations: 0 / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.4399, allocations: 42.5 kB / 0.509 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.4403, allocations: 46.14 kB / 0.509 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.4408, allocations: 99.84 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.4411, allocations: 96.78 kB / 0.5092 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.4412, allocations: 5.609 kB / 0.5092 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.4414, allocations: 43.41 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.862e-05/0.4415, allocations: 39.06 kB / 0.5093 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.4415, allocations: 2.562 kB / 0.5093 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.4417, allocations: 32.92 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.4418, allocations: 19.72 kB / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.903e-05/0.4418, allocations: 43.77 kB / 0.5094 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.4422, allocations: 106 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4422, allocations: 3.938 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4422, allocations: 0 / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4422, allocations: 0 / 0.5095 GB, free: 36.15 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.000682/0.4429, allocations: 412 kB / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4429, allocations: 8.75 kB / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.443, allocations: 21.72 kB / 0.5099 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.4433, allocations: 209.7 kB / 0.5101 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.4433, allocations: 7.188 kB / 0.5101 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.4434, allocations: 4.125 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.4436, allocations: 57.97 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4436, allocations: 0 / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4436, allocations: 0 / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4436, allocations: 0 / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.4437, allocations: 18.03 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.4442, allocations: 291.6 kB / 0.5105 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.4444, allocations: 60.67 kB / 0.5106 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.4445, allocations: 20.81 kB / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.4445, allocations: 0 / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.4448, allocations: 71.88 kB / 0.5106 GB, free: 35.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.116e-06/0.4448, allocations: 7.984 kB / 0.5107 GB, free: 35.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008943/0.4457, allocations: 170.3 kB / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.4458, allocations: 54.91 kB / 0.5109 GB, free: 34.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.4461, allocations: 203.8 kB / 0.5111 GB, free: 34.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4461, allocations: 25.7 kB / 0.5111 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.4462, allocations: 105.3 kB / 0.5112 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.4462, allocations: 26.17 kB / 0.5112 GB, free: 34.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.4463, allocations: 23.28 kB / 0.5112 GB, free: 34.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.4464, allocations: 329.2 kB / 0.5116 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.4465, allocations: 20.05 kB / 0.5116 GB, free: 34.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.82e-05/0.4466, allocations: 36.28 kB / 0.5116 GB, free: 34.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.4468, allocations: 71.52 kB / 0.5117 GB, free: 34.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4469, allocations: 0 / 0.5117 GB, free: 34.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002914/0.4472, allocations: 101 kB / 0.5118 GB, free: 34.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.4472, allocations: 5.375 kB / 0.5118 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4472, allocations: 0 / 0.5118 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.4473, allocations: 3.062 kB / 0.5118 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.4474, allocations: 19.16 kB / 0.5118 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4474, allocations: 0 / 0.5118 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.4475, allocations: 14.75 kB / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.4475, allocations: 2.469 kB / 0.5118 GB, free: 34.12 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 0.0001372/0.4476, allocations: 125 kB / 0.5119 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.4477, allocations: 21.66 kB / 0.512 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.92e-05/0.4478, allocations: 22.69 kB / 0.512 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.4478, allocations: 0 / 0.512 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4478, allocations: 0 / 0.512 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4478, allocations: 3.938 kB / 0.512 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.4484, allocations: 384.1 kB / 0.5123 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.4484, allocations: 2.844 kB / 0.5123 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.4485, allocations: 9.781 kB / 0.5124 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.4485, allocations: 6.781 kB / 0.5124 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.4485, allocations: 3.938 kB / 0.5124 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4485, allocations: 10.39 kB / 0.5124 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4485, allocations: 0 / 0.5124 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.4491, allocations: 0.7817 MB / 0.5131 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.4492, allocations: 94.05 kB / 0.5132 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.4492, allocations: 0 / 0.5132 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4493, allocations: 2.969 kB / 0.5132 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.4494, allocations: 6.031 kB / 0.5132 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.4494, allocations: 7 kB / 0.5132 GB, free: 32.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.4496, allocations: 149.3 kB / 0.5134 GB, free: 32.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4496, allocations: 0 / 0.5134 GB, free: 32.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006539/0.4503, allocations: 26.25 kB / 0.5134 GB, free: 32.64 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.00146/0.4517, allocations: 471.6 kB / 0.5139 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.452, allocations: 59.48 kB / 0.5139 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.452, allocations: 3.938 kB / 0.5139 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.4522, allocations: 33.31 kB / 0.514 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.4527, allocations: 35.09 kB / 0.514 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.4533, allocations: 374.1 kB / 0.5143 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.4534, allocations: 0.7077 MB / 0.515 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.892e-05/0.4535, allocations: 15.38 kB / 0.515 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.4535, allocations: 12.66 kB / 0.5151 GB, free: 31.36 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4536, allocations: 2.562 kB / 0.5151 GB, free: 31.36 MB / 378.7 MB Notification: Performance of Templates: time 0.006085/0.4596, allocations: 1.685 MB / 0.5167 GB, free: 31.16 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches