Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, 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.418/1.418, 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.001041/0.001041, allocations: 103.1 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.3228/0.3228, allocations: 44.12 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 55.92 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4091, allocations: 60.8 MB / 0.5064 GB, free: 38.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00285/0.412, allocations: 1.853 MB / 0.5082 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.4138, allocations: 1.527 MB / 0.5097 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.4139, allocations: 3.938 kB / 0.5097 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.4142, allocations: 52.91 kB / 0.5097 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.4145, allocations: 80.23 kB / 0.5098 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.4148, allocations: 156.7 kB / 0.51 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.415, allocations: 168.5 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.806e-05/0.4151, allocations: 7.219 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.4152, allocations: 77.22 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.4154, allocations: 70.5 kB / 0.5103 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.4154, allocations: 4.312 kB / 0.5103 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.4155, allocations: 62.23 kB / 0.5103 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.4156, allocations: 34.62 kB / 0.5104 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.4157, allocations: 50.36 kB / 0.5104 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.4159, allocations: 170.2 kB / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4159, allocations: 0 / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.4159, allocations: 0 / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.4159, allocations: 0 / 0.5106 GB, free: 35.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005849/0.4165, allocations: 468.9 kB / 0.511 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4166, allocations: 12.84 kB / 0.511 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.4166, allocations: 14.62 kB / 0.5111 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.4169, allocations: 239.1 kB / 0.5113 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4169, allocations: 4.375 kB / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.4169, allocations: 7.281 kB / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.4171, allocations: 106.6 kB / 0.5114 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.4171, allocations: 0 / 0.5114 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4171, allocations: 3.984 kB / 0.5114 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4172, allocations: 0 / 0.5114 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.4173, allocations: 35.69 kB / 0.5114 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.4175, allocations: 213.1 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.4177, allocations: 102.1 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.4178, allocations: 46.23 kB / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.4178, allocations: 0 / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.4181, allocations: 110.4 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.4181, allocations: 0 / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004139/0.4185, allocations: 167 kB / 0.512 GB, free: 34.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.4186, allocations: 134.7 kB / 0.5122 GB, free: 33.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.4188, allocations: 214.2 kB / 0.5124 GB, free: 33.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.4188, allocations: 25.7 kB / 0.5124 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.4188, allocations: 112.1 kB / 0.5125 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.4189, allocations: 33.78 kB / 0.5125 GB, free: 33.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.4189, allocations: 29.03 kB / 0.5126 GB, free: 33.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.419, allocations: 328.3 kB / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.4191, allocations: 28.41 kB / 0.5129 GB, free: 33.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.685e-05/0.4192, allocations: 71.81 kB / 0.513 GB, free: 33.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4193, allocations: 98.38 kB / 0.5131 GB, free: 33.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4193, allocations: 0 / 0.5131 GB, free: 33.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002327/0.4196, allocations: 136.5 kB / 0.5132 GB, free: 33.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4196, allocations: 6.688 kB / 0.5132 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4196, allocations: 2.875 kB / 0.5132 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4196, allocations: 0 / 0.5132 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.4198, allocations: 26.53 kB / 0.5132 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4198, allocations: 0 / 0.5132 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.4198, allocations: 17.19 kB / 0.5133 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.4199, allocations: 12.95 kB / 0.5133 GB, free: 33.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 9.244e-05/0.42, allocations: 136.7 kB / 0.5134 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.42, allocations: 19.55 kB / 0.5134 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.4201, allocations: 18.28 kB / 0.5134 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.4201, allocations: 2.812 kB / 0.5134 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4201, allocations: 0 / 0.5134 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4201, allocations: 3.188 kB / 0.5134 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.4202, allocations: 217.1 kB / 0.5136 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4202, allocations: 4 kB / 0.5137 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.4203, allocations: 11.62 kB / 0.5137 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4203, allocations: 0 / 0.5137 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4203, allocations: 2.844 kB / 0.5137 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4203, allocations: 0 / 0.5137 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4203, allocations: 128 / 0.5137 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.4208, allocations: 0.7778 MB / 0.5144 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.4208, allocations: 90.2 kB / 0.5145 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.4209, allocations: 7.328 kB / 0.5145 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.006e-05/0.4209, allocations: 5.469 kB / 0.5145 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.421, allocations: 10.3 kB / 0.5145 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.421, allocations: 5.531 kB / 0.5145 GB, free: 31.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.4212, allocations: 160.6 kB / 0.5147 GB, free: 31.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4212, allocations: 7.938 kB / 0.5147 GB, free: 31.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003709/0.4216, allocations: 39.02 kB / 0.5147 GB, free: 31.69 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009943/0.4226, allocations: 468.1 kB / 0.5152 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.4228, allocations: 81.77 kB / 0.5153 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4228, allocations: 0 / 0.5153 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4229, allocations: 40.2 kB / 0.5153 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.4233, allocations: 46.38 kB / 0.5153 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.4238, allocations: 421.7 kB / 0.5157 GB, free: 31.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.424, allocations: 0.7272 MB / 0.5165 GB, free: 30.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.464e-05/0.4241, allocations: 30.52 kB / 0.5165 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.4241, allocations: 25.59 kB / 0.5165 GB, free: 30.37 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4241, allocations: 0 / 0.5165 GB, free: 30.37 MB / 378.7 MB Notification: Performance of Templates: time 0.005432/0.4296, allocations: 2.603 MB / 0.5191 GB, free: 30.09 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches