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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 196.5 kB / 23.72 MB, free: 4.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2373/0.2373, allocations: 44.93 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 71.89 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4409, allocations: 65.48 MB / 0.5575 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005186/0.446, allocations: 2.785 MB / 0.5602 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.4477, allocations: 0.7505 MB / 0.5609 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.4479, allocations: 7.938 kB / 0.5609 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.4481, allocations: 63.38 kB / 0.561 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.4484, allocations: 99.11 kB / 0.5611 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.4488, allocations: 119.8 kB / 0.5612 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.4493, allocations: 470.6 kB / 0.5616 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.4496, allocations: 108.4 kB / 0.5617 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.4499, allocations: 191.4 kB / 0.5619 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.4502, allocations: 183.1 kB / 0.5621 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.4503, allocations: 44 kB / 0.5621 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.4504, allocations: 40 kB / 0.5622 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.4505, allocations: 91.67 kB / 0.5623 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.4507, allocations: 167.2 kB / 0.5624 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.4513, allocations: 481.7 kB / 0.5629 GB, free: 1.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4514, allocations: 0 / 0.5629 GB, free: 1.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4514, allocations: 0 / 0.5629 GB, free: 1.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.4514, allocations: 0 / 0.5629 GB, free: 1.918 MB / 398.1 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.001553/0.4529, allocations: 0.6379 MB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.453, allocations: 11.98 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.4533, allocations: 64.58 kB / 0.5636 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.4538, allocations: 234 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.4538, allocations: 33.38 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.4539, allocations: 36.38 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.4546, allocations: 350.8 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.4546, allocations: 4 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.4546, allocations: 12 kB / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.4546, allocations: 12 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.4553, allocations: 299.8 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.4575, allocations: 1.147 MB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005281/0.458, allocations: 249.5 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.4583, allocations: 145.3 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.4584, allocations: 12.14 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4584, allocations: 38.84 kB / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.364e-06/0.4584, allocations: 0 / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008812/0.4593, allocations: 363.6 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.4593, allocations: 59.34 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.4596, allocations: 236.8 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.4596, allocations: 37.7 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.4598, allocations: 204.6 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.4599, allocations: 130.9 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.4601, allocations: 70.12 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4602, allocations: 338.8 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.4605, allocations: 96.83 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.4608, allocations: 179.4 kB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.4613, allocations: 292.7 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4613, allocations: 3.938 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007826/0.4621, allocations: 366.4 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4621, allocations: 4 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.4622, allocations: 7.984 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4622, allocations: 4 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.4627, allocations: 103.8 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4627, allocations: 0 / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.4629, allocations: 43.72 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.463, allocations: 16.19 kB / 0.5685 GB, free: 11.89 MB / 414.1 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.0001655/0.4631, allocations: 157.7 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.4632, allocations: 27.8 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007402/0.4639, allocations: 321.2 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.4639, allocations: 4 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4639, allocations: 0 / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.4639, allocations: 0 / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.4644, allocations: 284.9 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4644, allocations: 7.938 kB / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.4648, allocations: 83.88 kB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.4648, allocations: 7.938 kB / 0.5694 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.4648, allocations: 8 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4648, allocations: 0 / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4648, allocations: 0 / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.4657, allocations: 0.5108 MB / 0.5699 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.4659, allocations: 43.73 kB / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.4659, allocations: 20 kB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.4661, allocations: 12 kB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.4662, allocations: 23.89 kB / 0.57 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.4662, allocations: 15.98 kB / 0.57 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.4664, allocations: 168.4 kB / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4664, allocations: 0 / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003888/0.4668, allocations: 99.78 kB / 0.5702 GB, free: 10.06 MB / 414.1 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.0001409/0.4669, allocations: 99.23 kB / 0.5703 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006086/0.4675, allocations: 263.6 kB / 0.5706 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4675, allocations: 0 / 0.5706 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.4678, allocations: 123.8 kB / 0.5707 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.4682, allocations: 35.03 kB / 0.5707 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.4697, allocations: 0.7574 MB / 0.5715 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.4699, allocations: 181.5 kB / 0.5716 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.4701, allocations: 34.95 kB / 0.5717 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.366e-05/0.4702, allocations: 23.44 kB / 0.5717 GB, free: 8.5 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4702, allocations: 0 / 0.5717 GB, free: 8.5 MB / 414.1 MB Notification: Performance of Templates: time 0.007511/0.4777, allocations: 2.838 MB / 0.5745 GB, free: 5.699 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5967895202338696]