Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, 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.388/1.388, 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.00103/0.00103, allocations: 105.8 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.4515/0.4515, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001087, allocations: 59.91 kB / 457.8 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4408, allocations: 60.8 MB / 0.5064 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003681/0.4445, allocations: 1.709 MB / 0.5081 GB, free: 37.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.4466, allocations: 0.8547 MB / 0.5089 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.4467, allocations: 1.188 kB / 0.5089 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.4472, allocations: 55 kB / 0.509 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.4476, allocations: 55.88 kB / 0.509 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.4479, allocations: 93.38 kB / 0.5091 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.448, allocations: 99.62 kB / 0.5092 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.4481, allocations: 5.688 kB / 0.5092 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.4482, allocations: 35.59 kB / 0.5092 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.4483, allocations: 42.64 kB / 0.5093 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.4483, allocations: 6.875 kB / 0.5093 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.4484, allocations: 32.77 kB / 0.5093 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.4485, allocations: 9.016 kB / 0.5093 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.4485, allocations: 43.59 kB / 0.5094 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.4487, allocations: 93.12 kB / 0.5095 GB, free: 36.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4487, allocations: 3.938 kB / 0.5095 GB, free: 36.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4487, allocations: 0 / 0.5095 GB, free: 36.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.4487, allocations: 0 / 0.5095 GB, free: 36.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005347/0.4493, allocations: 402.2 kB / 0.5098 GB, free: 36.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4493, allocations: 11.09 kB / 0.5099 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.4494, allocations: 8 kB / 0.5099 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.4496, allocations: 209.4 kB / 0.5101 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4497, allocations: 4.375 kB / 0.5101 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.4497, allocations: 14.44 kB / 0.5101 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.4498, allocations: 45.22 kB / 0.5101 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4499, allocations: 2.875 kB / 0.5101 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4499, allocations: 0 / 0.5101 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4499, allocations: 0 / 0.5101 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.715e-05/0.45, allocations: 19.62 kB / 0.5101 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.4502, allocations: 175.1 kB / 0.5103 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.4504, allocations: 54.19 kB / 0.5104 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.4504, allocations: 25.03 kB / 0.5104 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.4505, allocations: 0 / 0.5104 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.4507, allocations: 69.39 kB / 0.5105 GB, free: 35.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.725e-06/0.4507, allocations: 0 / 0.5105 GB, free: 35.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003194/0.4511, allocations: 103.2 kB / 0.5106 GB, free: 35.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.4511, allocations: 58.06 kB / 0.5106 GB, free: 35.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.4513, allocations: 176.2 kB / 0.5108 GB, free: 35.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.4513, allocations: 35.7 kB / 0.5108 GB, free: 35.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.4514, allocations: 94.89 kB / 0.5109 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.4514, allocations: 13.8 kB / 0.5109 GB, free: 35.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.4514, allocations: 19.25 kB / 0.5109 GB, free: 35.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.4515, allocations: 324.9 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.4516, allocations: 19.41 kB / 0.5113 GB, free: 34.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.851e-05/0.4516, allocations: 28.17 kB / 0.5113 GB, free: 34.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.448e-05/0.4517, allocations: 45.7 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4517, allocations: 0 / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000135/0.4519, allocations: 87.83 kB / 0.5114 GB, free: 34.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4519, allocations: 5.25 kB / 0.5114 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4519, allocations: 4.031 kB / 0.5114 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4519, allocations: 3.844 kB / 0.5114 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.089e-05/0.452, allocations: 10.86 kB / 0.5114 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.452, allocations: 160 / 0.5114 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.4521, allocations: 2.812 kB / 0.5114 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.4521, allocations: 6.922 kB / 0.5114 GB, free: 34.64 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 (7): * Single equations (assignments): 7 * 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 8.919e-05/0.4522, allocations: 129.7 kB / 0.5116 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.4522, allocations: 13.12 kB / 0.5116 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.4523, allocations: 24.91 kB / 0.5116 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4523, allocations: 0 / 0.5116 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4523, allocations: 0 / 0.5116 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4523, allocations: 0 / 0.5116 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.4524, allocations: 186.8 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4524, allocations: 0 / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.4524, allocations: 6.5 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4524, allocations: 0 / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4525, allocations: 6.719 kB / 0.5118 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4525, allocations: 3.234 kB / 0.5118 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4525, allocations: 0 / 0.5118 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.4528, allocations: 0.6825 MB / 0.5125 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.4529, allocations: 87.89 kB / 0.5125 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.4529, allocations: 0 / 0.5125 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.365e-05/0.4529, allocations: 6.188 kB / 0.5126 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.453, allocations: 6.75 kB / 0.5126 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.453, allocations: 6.812 kB / 0.5126 GB, free: 33.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.067e-05/0.4531, allocations: 148.8 kB / 0.5127 GB, free: 33.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4531, allocations: 0 / 0.5127 GB, free: 33.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.4534, allocations: 22.17 kB / 0.5127 GB, free: 33.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009418/0.4543, allocations: 400.1 kB / 0.5131 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.4545, allocations: 46.88 kB / 0.5132 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4545, allocations: 0 / 0.5132 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.518e-05/0.4546, allocations: 14.91 kB / 0.5132 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.4549, allocations: 35.58 kB / 0.5132 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.4553, allocations: 329 kB / 0.5135 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.4555, allocations: 0.7014 MB / 0.5142 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.4555, allocations: 9.25 kB / 0.5142 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.4556, allocations: 16.34 kB / 0.5142 GB, free: 32.18 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4556, allocations: 0 / 0.5142 GB, free: 32.18 MB / 378.7 MB Notification: Performance of Templates: time 0.003752/0.4593, allocations: 1.451 MB / 0.5156 GB, free: 32 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches