Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 118.4 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.001244/0.001244, allocations: 183.8 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.411/1.411, 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.2375/0.2375, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4505, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002937/0.4535, allocations: 1.564 MB / 0.5204 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.4549, allocations: 1.019 MB / 0.5214 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.455, allocations: 5.062 kB / 0.5214 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.4553, allocations: 24.06 kB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.4555, allocations: 45.95 kB / 0.5215 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.4558, allocations: 84.41 kB / 0.5216 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.4559, allocations: 55.27 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.456, allocations: 12.2 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.246e-05/0.4561, allocations: 19.41 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.4563, allocations: 28.75 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.4563, allocations: 6.344 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.4564, allocations: 50.41 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.4565, allocations: 17.78 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.4565, allocations: 16.33 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.4567, allocations: 90.34 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4568, allocations: 1.188 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4568, allocations: 0 / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4568, allocations: 0 / 0.5219 GB, free: 1.574 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.0004349/0.4572, allocations: 380.7 kB / 0.5222 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4573, allocations: 14.72 kB / 0.5223 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.4573, allocations: 11.22 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.4575, allocations: 187.2 kB / 0.5224 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.4575, allocations: 1.719 kB / 0.5224 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.4575, allocations: 6.969 kB / 0.5224 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.4577, allocations: 68.98 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4577, allocations: 5.031 kB / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4577, allocations: 3.984 kB / 0.5225 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4577, allocations: 5.188 kB / 0.5225 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/0.4578, allocations: 22.72 kB / 0.5225 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.4581, allocations: 268.1 kB / 0.5228 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.4584, allocations: 44.48 kB / 0.5228 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.4584, allocations: 18.17 kB / 0.5229 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.4585, allocations: 4 kB / 0.5229 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.4585, allocations: 32.62 kB / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.4585, allocations: 0 / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005467/0.4591, allocations: 138.7 kB / 0.523 GB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.4591, allocations: 83.12 kB / 0.5231 GB, free: 372 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.4592, allocations: 132 kB / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.4593, allocations: 29.7 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.4593, allocations: 88.66 kB / 0.5234 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.4593, allocations: 18.64 kB / 0.5234 GB, free: 120 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.4594, allocations: 16.72 kB / 0.5234 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4595, allocations: 322.3 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.4596, allocations: 18.52 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.687e-05/0.4597, allocations: 35 kB / 0.5237 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.4598, allocations: 46.7 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4598, allocations: 4.719 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001831/0.46, allocations: 75.44 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.46, allocations: 6.969 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.46, allocations: 0 / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.46, allocations: 1.125 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.4601, allocations: 16.09 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4601, allocations: 1 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.4602, allocations: 5.156 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.4602, allocations: 5.891 kB / 0.5239 GB, free: 15.68 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 9.309e-05/0.4603, allocations: 117.9 kB / 0.524 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.4603, allocations: 12 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.4606, allocations: 96.16 kB / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4606, allocations: 1.156 kB / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4606, allocations: 0 / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4606, allocations: 0.7031 kB / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.461, allocations: 347.1 kB / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4611, allocations: 0 / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.4611, allocations: 13.02 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4611, allocations: 0 / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.4611, allocations: 6.094 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4612, allocations: 7.938 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4612, allocations: 3.938 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.4614, allocations: 174.2 kB / 0.5246 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.4615, allocations: 79.56 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.4615, allocations: 0 / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.4616, allocations: 10.11 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.4616, allocations: 7.141 kB / 0.5247 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.4616, allocations: 2.156 kB / 0.5247 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.723e-05/0.4617, allocations: 102.9 kB / 0.5248 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4617, allocations: 3.938 kB / 0.5248 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.462, allocations: 25.72 kB / 0.5249 GB, free: 14.8 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.001023/0.463, allocations: 444 kB / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.4633, allocations: 49.23 kB / 0.5253 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4633, allocations: 0 / 0.5253 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/0.4633, allocations: 27.03 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.4637, allocations: 21.86 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.4641, allocations: 156.6 kB / 0.5255 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.4644, allocations: 0.6884 MB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.322e-05/0.4644, allocations: 12.81 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.4645, allocations: 18.62 kB / 0.5262 GB, free: 13.72 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4645, allocations: 0 / 0.5262 GB, free: 13.72 MB / 398.1 MB Notification: Performance of Templates: time 0.005322/0.4698, allocations: 1.36 MB / 0.5276 GB, free: 13.41 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches