Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 99.2 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4037/0.4037, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 51.92 kB / 457.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4474, allocations: 60.8 MB / 0.5064 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004712/0.4522, allocations: 3.043 MB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.4536, allocations: 0.7165 MB / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.4539, allocations: 5.719 kB / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.4541, allocations: 38.45 kB / 0.5101 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.4543, allocations: 92.12 kB / 0.5102 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.4546, allocations: 94.03 kB / 0.5103 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.4549, allocations: 459.9 kB / 0.5107 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.4551, allocations: 143.7 kB / 0.5109 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.4553, allocations: 168.9 kB / 0.511 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.4555, allocations: 193.7 kB / 0.5112 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.4556, allocations: 25.41 kB / 0.5112 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-05/0.4556, allocations: 26.88 kB / 0.5113 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.4557, allocations: 83.47 kB / 0.5113 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.4559, allocations: 190.9 kB / 0.5115 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.4562, allocations: 447 kB / 0.5119 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4563, allocations: 2.594 kB / 0.5119 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4563, allocations: 4 kB / 0.512 GB, free: 34.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4563, allocations: 0 / 0.512 GB, free: 34.78 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001286/0.4576, allocations: 0.6952 MB / 0.5126 GB, free: 34.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4576, allocations: 8.844 kB / 0.5126 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.4577, allocations: 40.94 kB / 0.5127 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.458, allocations: 289.1 kB / 0.513 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.458, allocations: 31.66 kB / 0.513 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.4581, allocations: 37.94 kB / 0.513 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005187/0.4586, allocations: 348.9 kB / 0.5134 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.4586, allocations: 3.906 kB / 0.5134 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.4586, allocations: 14.88 kB / 0.5134 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4587, allocations: 8.875 kB / 0.5134 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/0.4592, allocations: 303.6 kB / 0.5137 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.4611, allocations: 1.346 MB / 0.515 GB, free: 32.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.4615, allocations: 278.9 kB / 0.5153 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.4618, allocations: 160.3 kB / 0.5154 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.4618, allocations: 4.188 kB / 0.5154 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4619, allocations: 41.78 kB / 0.5154 GB, free: 32.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.4619, allocations: 3.938 kB / 0.5155 GB, free: 32.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007648/0.4627, allocations: 365.6 kB / 0.5158 GB, free: 32.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.4627, allocations: 59.41 kB / 0.5159 GB, free: 32.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.463, allocations: 268.2 kB / 0.5161 GB, free: 32.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.4631, allocations: 32.2 kB / 0.5161 GB, free: 32.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.4632, allocations: 213.3 kB / 0.5163 GB, free: 31.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.4633, allocations: 114.3 kB / 0.5165 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4634, allocations: 66.97 kB / 0.5165 GB, free: 31.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.4635, allocations: 344.2 kB / 0.5168 GB, free: 31.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.4637, allocations: 99.83 kB / 0.5169 GB, free: 31.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.464, allocations: 178.5 kB / 0.5171 GB, free: 31.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.4644, allocations: 285.8 kB / 0.5174 GB, free: 31.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4644, allocations: 0 / 0.5174 GB, free: 31.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006034/0.4651, allocations: 374.3 kB / 0.5177 GB, free: 31.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4651, allocations: 10.41 kB / 0.5178 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4651, allocations: 2.906 kB / 0.5178 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4651, allocations: 6.781 kB / 0.5178 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.4656, allocations: 109.9 kB / 0.5179 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.4656, allocations: 7.328 kB / 0.5179 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.4659, allocations: 40.47 kB / 0.5179 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.4659, allocations: 13.83 kB / 0.5179 GB, free: 30.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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.0001213/0.466, allocations: 156.8 kB / 0.5181 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.4661, allocations: 34.62 kB / 0.5181 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006454/0.4667, allocations: 325.4 kB / 0.5184 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4668, allocations: 2.906 kB / 0.5184 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4668, allocations: 0 / 0.5184 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4668, allocations: 5.438 kB / 0.5184 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.4672, allocations: 397 kB / 0.5188 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4673, allocations: 0 / 0.5188 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.4676, allocations: 85.02 kB / 0.5189 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4677, allocations: 2.438 kB / 0.5189 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.4677, allocations: 10.89 kB / 0.5189 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4677, allocations: 0 / 0.5189 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4677, allocations: 0 / 0.5189 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.4697, allocations: 1.73 MB / 0.5206 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.4698, allocations: 125.8 kB / 0.5207 GB, free: 28.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.4698, allocations: 6.688 kB / 0.5207 GB, free: 28.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.4701, allocations: 16.47 kB / 0.5207 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.4701, allocations: 14.58 kB / 0.5207 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.4702, allocations: 12.22 kB / 0.5208 GB, free: 28.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.4703, allocations: 190.7 kB / 0.5209 GB, free: 28.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.61e-07/0.4703, allocations: 0 / 0.5209 GB, free: 28.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004576/0.4708, allocations: 114.3 kB / 0.521 GB, free: 28.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.0001344/0.4709, allocations: 110 kB / 0.5212 GB, free: 28.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006165/0.4716, allocations: 271.5 kB / 0.5214 GB, free: 28.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4716, allocations: 0 / 0.5214 GB, free: 28.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.4719, allocations: 138.5 kB / 0.5215 GB, free: 28.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.4723, allocations: 38.38 kB / 0.5216 GB, free: 28.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.4741, allocations: 1.101 MB / 0.5227 GB, free: 27.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.4744, allocations: 0.7916 MB / 0.5234 GB, free: 27.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.4747, allocations: 43.05 kB / 0.5235 GB, free: 27.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.4748, allocations: 25.22 kB / 0.5235 GB, free: 27.01 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.4748, allocations: 3.938 kB / 0.5235 GB, free: 27 MB / 378.7 MB Notification: Performance of Templates: time 0.00593/0.4808, allocations: 2.63 MB / 0.5261 GB, free: 26.8 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches