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.001379/0.001379, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001487/0.001487, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.52/1.52, allocations: 230.6 MB / 258.2 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.2438/0.2438, allocations: 44.93 MB / 359.6 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] 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.002394/0.002394, allocations: 75.89 kB / 0.4942 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3468, allocations: 65.47 MB / 0.5582 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004552/0.3514, allocations: 2.8 MB / 0.5609 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.353, allocations: 0.7514 MB / 0.5617 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.3532, allocations: 7.938 kB / 0.5617 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.3535, allocations: 63.38 kB / 0.5617 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.3537, allocations: 103.1 kB / 0.5618 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.354, allocations: 115.8 kB / 0.5619 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.3546, allocations: 470.6 kB / 0.5624 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.3548, allocations: 112.4 kB / 0.5625 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003256/0.3551, allocations: 187.3 kB / 0.5627 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.3554, allocations: 183.1 kB / 0.5628 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.3555, allocations: 40 kB / 0.5629 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3556, allocations: 48 kB / 0.5629 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.3557, allocations: 91.66 kB / 0.563 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.3558, allocations: 167.2 kB / 0.5632 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.3564, allocations: 472.8 kB / 0.5636 GB, free: 1.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3564, allocations: 0 / 0.5636 GB, free: 1.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.3564, allocations: 3.984 kB / 0.5636 GB, free: 1.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.3564, allocations: 0 / 0.5636 GB, free: 1.883 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.001423/0.3578, allocations: 0.6477 MB / 0.5643 GB, free: 1.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3578, allocations: 11.98 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.3581, allocations: 60.64 kB / 0.5643 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.3586, allocations: 234 kB / 0.5645 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.3586, allocations: 29.38 kB / 0.5646 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.3587, allocations: 40.38 kB / 0.5646 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/0.3593, allocations: 350.8 kB / 0.5649 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.3594, allocations: 0 / 0.5649 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.3594, allocations: 16 kB / 0.565 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.3594, allocations: 8 kB / 0.565 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/0.36, allocations: 303.8 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.3622, allocations: 1.136 MB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.3628, allocations: 257.3 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.3631, allocations: 141.4 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.3631, allocations: 12.16 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3632, allocations: 34.84 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.465e-06/0.3632, allocations: 0 / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008658/0.364, allocations: 363.6 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.3641, allocations: 59.34 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.3643, allocations: 236.8 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.3644, allocations: 33.7 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.3645, allocations: 208.6 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.3646, allocations: 134.8 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3647, allocations: 78.06 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3649, allocations: 334.8 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.3652, allocations: 100.8 kB / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.3655, allocations: 171.5 kB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/0.366, allocations: 292.7 kB / 0.5687 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.366, allocations: 0 / 0.5687 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007279/0.3668, allocations: 374.5 kB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3668, allocations: 4 kB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3668, allocations: 4 kB / 0.5691 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3668, allocations: 4 kB / 0.5691 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.3673, allocations: 103.8 kB / 0.5692 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3673, allocations: 4 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.3676, allocations: 39.73 kB / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.3676, allocations: 15.98 kB / 0.5692 GB, free: 11.86 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.0001887/0.3678, allocations: 153.8 kB / 0.5694 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.3679, allocations: 27.8 kB / 0.5694 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006898/0.3686, allocations: 325.2 kB / 0.5697 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.3686, allocations: 4 kB / 0.5697 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3686, allocations: 0 / 0.5697 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3686, allocations: 3.984 kB / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.369, allocations: 284.9 kB / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.369, allocations: 3.938 kB / 0.57 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.3694, allocations: 83.89 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.3694, allocations: 7.938 kB / 0.5701 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.3694, allocations: 7.984 kB / 0.5701 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3694, allocations: 4 kB / 0.5701 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3694, allocations: 0 / 0.5701 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.3704, allocations: 0.5069 MB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3705, allocations: 55.7 kB / 0.5707 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.3705, allocations: 8.016 kB / 0.5707 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3708, allocations: 23.92 kB / 0.5707 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.3708, allocations: 15.97 kB / 0.5707 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.3708, allocations: 15.98 kB / 0.5707 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.371, allocations: 164.5 kB / 0.5709 GB, free: 10.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.371, allocations: 0 / 0.5709 GB, free: 10.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.3714, allocations: 99.78 kB / 0.571 GB, free: 10.03 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.0001237/0.3715, allocations: 99.19 kB / 0.5711 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.3721, allocations: 263.6 kB / 0.5713 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3721, allocations: 0 / 0.5713 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.3724, allocations: 119.8 kB / 0.5714 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3727, allocations: 36.3 kB / 0.5715 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3742, allocations: 0.7864 MB / 0.5722 GB, free: 8.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.3744, allocations: 181.5 kB / 0.5724 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3745, allocations: 35.42 kB / 0.5724 GB, free: 8.461 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3745, allocations: 0 / 0.5724 GB, free: 8.461 MB / 414.1 MB Notification: Performance of Templates: time 0.006788/0.3813, allocations: 3.966 MB / 0.5763 GB, free: 4.512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/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: 7.6727228802628815]