Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 112.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 180.1 kB / 18.7 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4316, allocations: 60.82 MB / 0.519 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003175/0.4348, allocations: 1.798 MB / 0.5207 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.4364, allocations: 0.9565 MB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.4365, allocations: 5.188 kB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.4372, allocations: 299.3 kB / 0.5219 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.4377, allocations: 214.6 kB / 0.5221 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.4381, allocations: 171.3 kB / 0.5223 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.4385, allocations: 244.3 kB / 0.5225 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.029e-05/0.4386, allocations: 9.734 kB / 0.5226 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.4388, allocations: 134.4 kB / 0.5227 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.439, allocations: 190.3 kB / 0.5229 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.4391, allocations: 5.531 kB / 0.5229 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.4392, allocations: 50.25 kB / 0.5229 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.4394, allocations: 125.7 kB / 0.523 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.4396, allocations: 154.1 kB / 0.5232 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.4401, allocations: 364.5 kB / 0.5235 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.4401, allocations: 4 kB / 0.5235 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4401, allocations: 0 / 0.5235 GB, free: 1.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.4401, allocations: 0 / 0.5235 GB, free: 1.043 MB / 382.1 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.0009323/0.441, allocations: 0.728 MB / 0.5242 GB, free: 452 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4411, allocations: 8.344 kB / 0.5243 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.044e-05/0.4412, allocations: 47.38 kB / 0.5243 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.4417, allocations: 456.3 kB / 0.5247 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.4418, allocations: 3.125 kB / 0.5247 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.4418, allocations: 11.95 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.442, allocations: 86.33 kB / 0.5248 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.442, allocations: 0 / 0.5248 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.4421, allocations: 0.5156 kB / 0.5248 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4421, allocations: 2.172 kB / 0.5248 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.4422, allocations: 34.02 kB / 0.5249 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.4427, allocations: 380.7 kB / 0.5252 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.443, allocations: 103.1 kB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4431, allocations: 46.59 kB / 0.5254 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.4431, allocations: 4.703 kB / 0.5254 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.4434, allocations: 101.4 kB / 0.5255 GB, free: 15.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.4434, allocations: 0 / 0.5255 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000553/0.444, allocations: 202.5 kB / 0.5257 GB, free: 15.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.444, allocations: 83.2 kB / 0.5257 GB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4453, allocations: 1.038 MB / 0.5268 GB, free: 14.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.4453, allocations: 27.14 kB / 0.5268 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.4455, allocations: 233.3 kB / 0.527 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.4456, allocations: 25.06 kB / 0.527 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.4456, allocations: 30.02 kB / 0.5271 GB, free: 14.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002841/0.4459, allocations: 365.6 kB / 0.5274 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.801e-05/0.446, allocations: 32.2 kB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.4461, allocations: 61.72 kB / 0.5275 GB, free: 14.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.4463, allocations: 86.2 kB / 0.5276 GB, free: 14.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4463, allocations: 1.312 kB / 0.5276 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003371/0.4467, allocations: 173.3 kB / 0.5277 GB, free: 14.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4467, allocations: 5.375 kB / 0.5278 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4467, allocations: 1.625 kB / 0.5278 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4467, allocations: 1.344 kB / 0.5278 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.4469, allocations: 29.52 kB / 0.5278 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.4469, allocations: 2.469 kB / 0.5278 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.447, allocations: 11.75 kB / 0.5278 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.447, allocations: 4.781 kB / 0.5278 GB, free: 14.03 MB / 398.1 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0002633/0.4473, allocations: 229.9 kB / 0.528 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.329e-05/0.4474, allocations: 53.16 kB / 0.5281 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/0.4475, allocations: 62.56 kB / 0.5281 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4475, allocations: 1.281 kB / 0.5281 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.4475, allocations: 5.031 kB / 0.5281 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4475, allocations: 3.984 kB / 0.5281 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.4479, allocations: 344.6 kB / 0.5285 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4479, allocations: 1.125 kB / 0.5285 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.448, allocations: 10.81 kB / 0.5285 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.448, allocations: 1.125 kB / 0.5285 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.448, allocations: 5.234 kB / 0.5285 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.448, allocations: 5.188 kB / 0.5285 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.448, allocations: 1.062 kB / 0.5285 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.4484, allocations: 204 kB / 0.5287 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.4485, allocations: 137.6 kB / 0.5288 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.4486, allocations: 3.781 kB / 0.5288 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.4487, allocations: 13.86 kB / 0.5288 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.4487, allocations: 7.797 kB / 0.5288 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.4488, allocations: 5 kB / 0.5288 GB, free: 13.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009627/0.4497, allocations: 0.7671 MB / 0.5296 GB, free: 12.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4497, allocations: 0 / 0.5296 GB, free: 12.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.45, allocations: 44.55 kB / 0.5296 GB, free: 12.83 MB / 398.1 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.0009965/0.451, allocations: 423.1 kB / 0.53 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.4513, allocations: 86.41 kB / 0.5301 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4513, allocations: 0 / 0.5301 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.4515, allocations: 39.25 kB / 0.5302 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.452, allocations: 68.53 kB / 0.5302 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.4535, allocations: 0.8665 MB / 0.5311 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.4541, allocations: 0.8469 MB / 0.5319 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.4543, allocations: 57.59 kB / 0.532 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.4544, allocations: 26.72 kB / 0.532 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4544, allocations: 0 / 0.532 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Templates: time 0.009753/0.4642, allocations: 3.749 MB / 0.5356 GB, free: 9.473 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches