Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.002076/0.002076, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.521/1.521, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.241/0.241, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4505, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003185/0.4538, allocations: 1.571 MB / 0.5205 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.4554, allocations: 1.028 MB / 0.5215 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.4554, allocations: 5.031 kB / 0.5215 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.4557, allocations: 20.5 kB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.456, allocations: 45.66 kB / 0.5215 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.4563, allocations: 102.9 kB / 0.5216 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.4564, allocations: 59.89 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4566, allocations: 13.61 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.4566, allocations: 22.89 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.4568, allocations: 25.3 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.4568, allocations: 2.594 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.4569, allocations: 54.17 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.457, allocations: 13 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.457, allocations: 21.47 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.4573, allocations: 96.11 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4573, allocations: 0 / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4573, allocations: 0 / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4573, allocations: 0 / 0.5219 GB, free: 1.559 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004312/0.4577, allocations: 370.7 kB / 0.5223 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4578, allocations: 10.09 kB / 0.5223 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.4578, allocations: 11.72 kB / 0.5223 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.458, allocations: 188.4 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.458, allocations: 1.438 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.4581, allocations: 9.438 kB / 0.5225 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.4583, allocations: 70.42 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4583, allocations: 1.938 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4583, allocations: 0 / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.4583, allocations: 1.062 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.4584, allocations: 22.58 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.4588, allocations: 279.4 kB / 0.5228 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.459, allocations: 54.02 kB / 0.5229 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.4591, allocations: 15.19 kB / 0.5229 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.4591, allocations: 1.797 kB / 0.5229 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.4592, allocations: 36.58 kB / 0.5229 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4592, allocations: 4 kB / 0.5229 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005947/0.4598, allocations: 149.4 kB / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.4598, allocations: 78.78 kB / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.46, allocations: 132.1 kB / 0.5233 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.46, allocations: 29.7 kB / 0.5233 GB, free: 216 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.46, allocations: 88.94 kB / 0.5234 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.46, allocations: 23.88 kB / 0.5234 GB, free: 108 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.4601, allocations: 14.83 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4602, allocations: 323.2 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.4603, allocations: 20.31 kB / 0.5238 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.4604, allocations: 33.45 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.4606, allocations: 60.08 kB / 0.5239 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4606, allocations: 0 / 0.5239 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002225/0.4608, allocations: 89.45 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4608, allocations: 4.688 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4608, allocations: 1.156 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4609, allocations: 0.6094 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.4609, allocations: 12.33 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.461, allocations: 1.688 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.461, allocations: 4.344 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.461, allocations: 9.375 kB / 0.524 GB, free: 15.66 MB / 398.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 (5): * Single equations (assignments): 5 * 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.0001022/0.4611, allocations: 123.5 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.4612, allocations: 8 kB / 0.5241 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.4614, allocations: 95.83 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4614, allocations: 2.344 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4615, allocations: 0 / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4615, allocations: 0.6094 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.4619, allocations: 357.2 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4619, allocations: 1.953 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.462, allocations: 15.8 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.462, allocations: 0 / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.462, allocations: 5.125 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.462, allocations: 5.797 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.462, allocations: 0 / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.4623, allocations: 181.8 kB / 0.5247 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.4623, allocations: 79.38 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.4624, allocations: 256 / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.4625, allocations: 23.02 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.4625, allocations: 3.328 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.4625, allocations: 1.781 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.621e-05/0.4626, allocations: 106.8 kB / 0.5249 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4626, allocations: 4 kB / 0.5249 GB, free: 14.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.4629, allocations: 20.53 kB / 0.525 GB, free: 14.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001147/0.464, allocations: 440.3 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.4643, allocations: 53.41 kB / 0.5254 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4643, allocations: 0 / 0.5254 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.4644, allocations: 33.7 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.4648, allocations: 15.69 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.4653, allocations: 162.8 kB / 0.5256 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.4657, allocations: 0.6965 MB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.884e-05/0.4658, allocations: 17.02 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.4659, allocations: 14 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4659, allocations: 0 / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Templates: time 0.005476/0.4714, allocations: 1.372 MB / 0.5277 GB, free: 13.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches