Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 113.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.001053/0.001053, allocations: 179.1 kB / 18.71 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.462/1.462, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.249/0.249, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.436, allocations: 60.83 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004236/0.4403, allocations: 1.928 MB / 0.5208 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.4418, allocations: 0.9131 MB / 0.5217 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.4419, allocations: 9.344 kB / 0.5217 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.4423, allocations: 42.52 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.4426, allocations: 54.28 kB / 0.5218 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.4429, allocations: 127.8 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.4431, allocations: 142.2 kB / 0.5221 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.4433, allocations: 29.38 kB / 0.5221 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.4434, allocations: 57.3 kB / 0.5222 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.4435, allocations: 52.83 kB / 0.5222 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.4435, allocations: 7.031 kB / 0.5222 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.4437, allocations: 44.91 kB / 0.5223 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.4437, allocations: 23.7 kB / 0.5223 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.4438, allocations: 54.05 kB / 0.5224 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.4441, allocations: 150.2 kB / 0.5225 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4441, allocations: 0 / 0.5225 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4441, allocations: 4 kB / 0.5225 GB, free: 1.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4441, allocations: 1.25 kB / 0.5225 GB, free: 1.25 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005883/0.4447, allocations: 470.9 kB / 0.5229 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4447, allocations: 9.688 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.4448, allocations: 19.97 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.4451, allocations: 229.1 kB / 0.5232 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4451, allocations: 11.16 kB / 0.5232 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.4451, allocations: 13.88 kB / 0.5232 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.4454, allocations: 109.1 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4454, allocations: 0 / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.4454, allocations: 1.094 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.4454, allocations: 1.781 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.4456, allocations: 51.62 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.4461, allocations: 0.5005 MB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.4465, allocations: 86.56 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-05/0.4466, allocations: 42.14 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.4466, allocations: 0 / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.4468, allocations: 92.41 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4468, allocations: 0 / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003996/0.4472, allocations: 141.3 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4473, allocations: 60.98 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.4475, allocations: 191.8 kB / 0.5245 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.4476, allocations: 31.52 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.4477, allocations: 113.8 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.4477, allocations: 30.84 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.4477, allocations: 29.23 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4479, allocations: 328.1 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.844e-05/0.448, allocations: 32.48 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.4481, allocations: 63.48 kB / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.4483, allocations: 98.84 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4483, allocations: 5.312 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002864/0.4486, allocations: 133.4 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4486, allocations: 5.844 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4486, allocations: 1.312 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4487, allocations: 2.625 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4488, allocations: 29.73 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4488, allocations: 5.312 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.4489, allocations: 11.62 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.4489, allocations: 7.562 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001263/0.449, allocations: 132.3 kB / 0.5255 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.4491, allocations: 15.8 kB / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.4491, allocations: 16.12 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.4491, allocations: 3.938 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4491, allocations: 1.797 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4491, allocations: 4.609 kB / 0.5255 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.4494, allocations: 206.6 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4494, allocations: 0 / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-05/0.4495, allocations: 12.12 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4495, allocations: 96 / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.4495, allocations: 10.33 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.4495, allocations: 4.453 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4495, allocations: 1.812 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.4499, allocations: 180.8 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.45, allocations: 90.28 kB / 0.526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.45, allocations: 2.172 kB / 0.526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.688e-05/0.4501, allocations: 17.83 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.4501, allocations: 4.984 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.4501, allocations: 4.219 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.4503, allocations: 138.7 kB / 0.5261 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4503, allocations: 0 / 0.5261 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.4505, allocations: 33 kB / 0.5262 GB, free: 14.15 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009535/0.4515, allocations: 411.9 kB / 0.5266 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.4518, allocations: 77.48 kB / 0.5266 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4518, allocations: 1.375 kB / 0.5266 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4519, allocations: 39.09 kB / 0.5267 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.4522, allocations: 45.75 kB / 0.5267 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.4528, allocations: 249.7 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.4531, allocations: 0.7139 MB / 0.5277 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.183e-05/0.4532, allocations: 30.59 kB / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.4532, allocations: 22.28 kB / 0.5277 GB, free: 13 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4532, allocations: 0 / 0.5277 GB, free: 13 MB / 398.1 MB Notification: Performance of Templates: time 0.005433/0.4587, allocations: 1.889 MB / 0.5296 GB, free: 12.22 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches