Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008939/0.0008941, allocations: 177.7 kB / 17.41 MB, free: 4.258 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 225.7 MB / 243.9 MB, free: 8.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001156, allocations: 97.83 kB / 295.1 MB, free: 9.473 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3755/0.3755, allocations: 44.33 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003251, allocations: 8 kB / 463.2 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3653, allocations: 61.89 MB / 0.5127 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.002545/0.3679, allocations: 2.552 MB / 0.5152 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.369, allocations: 0.7015 MB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.3691, allocations: 5.625 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.3693, allocations: 42.25 kB / 0.516 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.3695, allocations: 91.25 kB / 0.516 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3697, allocations: 99.34 kB / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.3701, allocations: 445.3 kB / 0.5166 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.3703, allocations: 134.9 kB / 0.5167 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.3705, allocations: 160.4 kB / 0.5169 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.3707, allocations: 181.3 kB / 0.517 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.3707, allocations: 20.34 kB / 0.517 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.993e-05/0.3708, allocations: 20.22 kB / 0.5171 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.3709, allocations: 71.23 kB / 0.5171 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.371, allocations: 199.9 kB / 0.5173 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.3714, allocations: 432.5 kB / 0.5177 GB, free: 34.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3714, allocations: 0 / 0.5177 GB, free: 34.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3714, allocations: 0 / 0.5177 GB, free: 34.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3714, allocations: 6.312 kB / 0.5177 GB, free: 34.63 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.00116/0.3726, allocations: 0.6344 MB / 0.5184 GB, free: 34.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3727, allocations: 9.188 kB / 0.5184 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.3727, allocations: 50.31 kB / 0.5184 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.373, allocations: 287.2 kB / 0.5187 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.3731, allocations: 29.31 kB / 0.5187 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.3732, allocations: 40.97 kB / 0.5188 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.3738, allocations: 351.1 kB / 0.5191 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3738, allocations: 1.219 kB / 0.5191 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.3738, allocations: 18.19 kB / 0.5191 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.3739, allocations: 9.719 kB / 0.5191 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005736/0.3744, allocations: 316.8 kB / 0.5194 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.3765, allocations: 1.343 MB / 0.5207 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.3769, allocations: 284.9 kB / 0.521 GB, free: 32.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.3772, allocations: 167.2 kB / 0.5212 GB, free: 32.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.3772, allocations: 3.25 kB / 0.5212 GB, free: 32.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.3773, allocations: 37.84 kB / 0.5212 GB, free: 32.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.694e-06/0.3773, allocations: 0 / 0.5212 GB, free: 32.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007637/0.378, allocations: 394.9 kB / 0.5216 GB, free: 32.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.3781, allocations: 58.03 kB / 0.5216 GB, free: 32.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.3783, allocations: 264.4 kB / 0.5219 GB, free: 32.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3784, allocations: 32.45 kB / 0.5219 GB, free: 32.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.3784, allocations: 210 kB / 0.5221 GB, free: 31.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.253e-05/0.3785, allocations: 115.7 kB / 0.5222 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.3785, allocations: 4 kB / 0.5222 GB, free: 31.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3787, allocations: 341.8 kB / 0.5226 GB, free: 31.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.3789, allocations: 106.2 kB / 0.5227 GB, free: 31.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.3792, allocations: 179.2 kB / 0.5228 GB, free: 31.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.3796, allocations: 302.2 kB / 0.5231 GB, free: 31.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3796, allocations: 0 / 0.5231 GB, free: 31.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006268/0.3803, allocations: 383.5 kB / 0.5235 GB, free: 30.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3803, allocations: 5.688 kB / 0.5235 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3803, allocations: 2.969 kB / 0.5235 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3803, allocations: 2.938 kB / 0.5235 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.3808, allocations: 105.3 kB / 0.5236 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3808, allocations: 6.797 kB / 0.5236 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.3811, allocations: 44.92 kB / 0.5236 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.3812, allocations: 19.69 kB / 0.5237 GB, free: 30.89 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.000142/0.3813, allocations: 160.2 kB / 0.5238 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.3814, allocations: 29.94 kB / 0.5238 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006099/0.382, allocations: 330.6 kB / 0.5242 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.382, allocations: 2.844 kB / 0.5242 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.382, allocations: 2.938 kB / 0.5242 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.382, allocations: 3.281 kB / 0.5242 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.3824, allocations: 396.6 kB / 0.5245 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3824, allocations: 3.234 kB / 0.5246 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.3828, allocations: 90.8 kB / 0.5246 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3828, allocations: 0 / 0.5246 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.3828, allocations: 6.875 kB / 0.5246 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.3829, allocations: 7.375 kB / 0.5247 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3829, allocations: 0 / 0.5247 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007227/0.3836, allocations: 0.5379 MB / 0.5252 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/0.3837, allocations: 130.8 kB / 0.5253 GB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.3837, allocations: 4 kB / 0.5253 GB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.384, allocations: 16.34 kB / 0.5253 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.384, allocations: 20.3 kB / 0.5253 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.384, allocations: 6 kB / 0.5253 GB, free: 29.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.3842, allocations: 188.7 kB / 0.5255 GB, free: 29.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3842, allocations: 8 kB / 0.5255 GB, free: 29.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003305/0.3845, allocations: 97.59 kB / 0.5256 GB, free: 29.7 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.0001105/0.3846, allocations: 107.5 kB / 0.5257 GB, free: 29.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005474/0.3852, allocations: 287.4 kB / 0.526 GB, free: 29.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3852, allocations: 0 / 0.526 GB, free: 29.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.3855, allocations: 144.5 kB / 0.5261 GB, free: 29.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.3858, allocations: 33.25 kB / 0.5262 GB, free: 29.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.3874, allocations: 0.9617 MB / 0.5271 GB, free: 28.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3876, allocations: 0.7836 MB / 0.5279 GB, free: 28.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.3879, allocations: 35.98 kB / 0.5279 GB, free: 28.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.388, allocations: 33.22 kB / 0.5279 GB, free: 28.11 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.388, allocations: 4 kB / 0.5279 GB, free: 28.11 MB / 378.7 MB Notification: Performance of Templates: time 0.005579/0.3936, allocations: 2.437 MB / 0.5303 GB, free: 27.92 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/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