Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 110.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.001397/0.001397, allocations: 187.9 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.44/1.44, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2204/0.2204, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 59.84 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4353, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003056/0.4384, allocations: 1.575 MB / 0.5204 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.4399, allocations: 1.016 MB / 0.5214 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.44, allocations: 5.094 kB / 0.5214 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.4403, allocations: 19 kB / 0.5215 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.4405, allocations: 42.31 kB / 0.5215 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.4408, allocations: 91.38 kB / 0.5216 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.441, allocations: 52.64 kB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4411, allocations: 11.11 kB / 0.5216 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.4412, allocations: 27.98 kB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008216/0.4494, allocations: 32.16 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.4494, allocations: 3.219 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.4497, allocations: 50.38 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.4497, allocations: 13.59 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.4498, allocations: 19.92 kB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.4501, allocations: 90.88 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4501, allocations: 0 / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4501, allocations: 0 / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.4501, allocations: 1.062 kB / 0.5219 GB, free: 1.594 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.000493/0.4506, allocations: 377.9 kB / 0.5222 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4507, allocations: 9.5 kB / 0.5222 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.4507, allocations: 12.12 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.4509, allocations: 183.7 kB / 0.5224 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.4509, allocations: 6.312 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.4509, allocations: 6.906 kB / 0.5224 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.4511, allocations: 64.64 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4511, allocations: 1.125 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4512, allocations: 3.938 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.4512, allocations: 1.281 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.542e-05/0.4513, allocations: 22 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.4516, allocations: 272.7 kB / 0.5228 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.4518, allocations: 44.17 kB / 0.5228 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.4519, allocations: 17.33 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4519, allocations: 1.578 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.452, allocations: 32.16 kB / 0.5229 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.452, allocations: 4 kB / 0.5229 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005808/0.4526, allocations: 143.3 kB / 0.523 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.4526, allocations: 78.36 kB / 0.5231 GB, free: 400 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.4527, allocations: 135.7 kB / 0.5232 GB, free: 288 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.4528, allocations: 25.7 kB / 0.5233 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.4528, allocations: 89.44 kB / 0.5233 GB, free: 168 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.4528, allocations: 27.61 kB / 0.5234 GB, free: 144 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.4529, allocations: 18.98 kB / 0.5234 GB, free: 124 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.453, allocations: 318.1 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.4531, allocations: 19.33 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.4531, allocations: 31.25 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.4533, allocations: 49.91 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4533, allocations: 1.25 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001851/0.4535, allocations: 80.41 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4535, allocations: 5.375 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.4535, allocations: 4.875 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4535, allocations: 0 / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.4536, allocations: 16 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4536, allocations: 1.219 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.4537, allocations: 9.844 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4537, allocations: 5.406 kB / 0.5239 GB, free: 15.7 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.096e-05/0.4538, allocations: 117.6 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.4538, allocations: 8.094 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.4541, allocations: 97.02 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4541, allocations: 288 / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4541, allocations: 1.656 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.4541, allocations: 4.547 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.4545, allocations: 342.7 kB / 0.5244 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4545, allocations: 0 / 0.5244 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.4546, allocations: 20.41 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4546, allocations: 0 / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.4546, allocations: 2.25 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.4547, allocations: 3.938 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4547, allocations: 0 / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.4549, allocations: 176.7 kB / 0.5246 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.4549, allocations: 79.72 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.455, allocations: 2.375 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.455, allocations: 8.797 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.4551, allocations: 2.953 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-06/0.4551, allocations: 2.453 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.071e-05/0.4552, allocations: 110.8 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4552, allocations: 0 / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.4555, allocations: 21.5 kB / 0.5249 GB, free: 14.82 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.001034/0.4565, allocations: 442.8 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.4568, allocations: 48.45 kB / 0.5253 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4568, allocations: 1.688 kB / 0.5253 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.4569, allocations: 22.48 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.4572, allocations: 18.8 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.4576, allocations: 162.1 kB / 0.5255 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.4579, allocations: 0.6953 MB / 0.5262 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.475e-05/0.4579, allocations: 16.56 kB / 0.5262 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.458, allocations: 15 kB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.458, allocations: 0 / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of Templates: time 0.004634/0.4626, allocations: 1.358 MB / 0.5276 GB, free: 13.44 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches