Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001263, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001128/0.001128, allocations: 184.1 kB / 18.71 MB, free: 4.348 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.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2177/0.2177, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 63.83 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4469, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00282/0.4498, allocations: 1.591 MB / 0.5205 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006702/0.4505, allocations: 410 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.4505, allocations: 1.312 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.4508, allocations: 77.86 kB / 0.5209 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.451, allocations: 66.11 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.4513, allocations: 104.7 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.4515, allocations: 81.95 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.4516, allocations: 15.75 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.89e-05/0.4517, allocations: 37.66 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.4518, allocations: 50.25 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.4518, allocations: 2.406 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.452, allocations: 47.83 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.452, allocations: 23.2 kB / 0.5214 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.4521, allocations: 27.02 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.4523, allocations: 99.92 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4523, allocations: 0 / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.4523, allocations: 1.406 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4523, allocations: 0 / 0.5215 GB, free: 1.988 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004682/0.4528, allocations: 404.9 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4529, allocations: 9.75 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.4529, allocations: 9.5 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.4531, allocations: 201.8 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.4531, allocations: 1.812 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.4531, allocations: 7.188 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.4533, allocations: 57.73 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4533, allocations: 0 / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4533, allocations: 5.281 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4533, allocations: 3.938 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.4534, allocations: 28.38 kB / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.4538, allocations: 299.6 kB / 0.5225 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.4539, allocations: 49.14 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.454, allocations: 14.72 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.454, allocations: 5.938 kB / 0.5225 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.4541, allocations: 31.91 kB / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4541, allocations: 4 kB / 0.5226 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008689/0.4549, allocations: 239.7 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.455, allocations: 56.56 kB / 0.5228 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.4552, allocations: 205.7 kB / 0.523 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.4552, allocations: 30.45 kB / 0.5231 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.4552, allocations: 117 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.4553, allocations: 25.58 kB / 0.5232 GB, free: 480 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.4553, allocations: 20.53 kB / 0.5232 GB, free: 460 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.471e-05/0.4554, allocations: 322.1 kB / 0.5235 GB, free: 136 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.4554, allocations: 30.64 kB / 0.5236 GB, free: 128 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/0.4555, allocations: 31.03 kB / 0.5236 GB, free: 120 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.4557, allocations: 75.11 kB / 0.5237 GB, free: 88 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4557, allocations: 1.094 kB / 0.5237 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000214/0.4559, allocations: 116.1 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.456, allocations: 7.906 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.456, allocations: 5.875 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.456, allocations: 0 / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.4561, allocations: 18.12 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4561, allocations: 11.88 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.4561, allocations: 6.234 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.4561, allocations: 1.781 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001155/0.4563, allocations: 127.5 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.4563, allocations: 10.31 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.4566, allocations: 123.5 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4566, allocations: 0 / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4566, allocations: 7.938 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4566, allocations: 0.5625 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.4572, allocations: 416.7 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4572, allocations: 0.6562 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.4573, allocations: 29.06 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4573, allocations: 1.062 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4573, allocations: 1.062 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4573, allocations: 5.641 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4573, allocations: 0.9062 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.4576, allocations: 210.7 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.4576, allocations: 91.78 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.4577, allocations: 1.516 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.4577, allocations: 18.53 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.4578, allocations: 8.797 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.4578, allocations: 3.453 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.4579, allocations: 158.8 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4579, allocations: 1.312 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.4582, allocations: 22.62 kB / 0.525 GB, free: 15.05 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001023/0.4592, allocations: 450.7 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.4595, allocations: 76.16 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4595, allocations: 0 / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.4596, allocations: 38.66 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.4599, allocations: 22.59 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.4604, allocations: 263.6 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.4607, allocations: 0.7085 MB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.097e-05/0.4608, allocations: 25.06 kB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.4609, allocations: 14.56 kB / 0.5266 GB, free: 13.9 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4609, allocations: 0 / 0.5266 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Templates: time 0.004093/0.465, allocations: 1.385 MB / 0.5279 GB, free: 13.46 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches