Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001806/0.001806, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002293/0.002293, allocations: 215.5 kB / 24.48 MB, free: 3.957 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2421/0.2421, allocations: 46.97 MB / 361.6 MB, free: 4.074 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 59.91 kB / 0.4973 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3677, allocations: 66.04 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004657/0.3724, allocations: 2.793 MB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3739, allocations: 0.7466 MB / 0.5653 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.3741, allocations: 11.94 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.3743, allocations: 59.38 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.3745, allocations: 95.12 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.3749, allocations: 127.8 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005579/0.3754, allocations: 466.6 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.3757, allocations: 112.4 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.376, allocations: 199.3 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.3763, allocations: 211.1 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.3764, allocations: 36 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.514e-05/0.3765, allocations: 44 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.946e-05/0.3766, allocations: 87.67 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.3768, allocations: 167.2 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.3773, allocations: 485.7 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3774, allocations: 0 / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3774, allocations: 0 / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3774, allocations: 0 / 0.5673 GB, free: 14.58 MB / 414.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.001476/0.3788, allocations: 0.6378 MB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3789, allocations: 8.031 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.3791, allocations: 64.64 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.3796, allocations: 230 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.3796, allocations: 29.38 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.3797, allocations: 48.31 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007033/0.3804, allocations: 342.8 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3804, allocations: 3.984 kB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.3805, allocations: 20 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3805, allocations: 8 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.3811, allocations: 307.8 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.3834, allocations: 1.136 MB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.3839, allocations: 257.4 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.3842, allocations: 137.3 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.3842, allocations: 16.2 kB / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3843, allocations: 34.84 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.694e-06/0.3843, allocations: 0 / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008516/0.3851, allocations: 363.6 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3852, allocations: 59.34 kB / 0.5708 GB, free: 10.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.3854, allocations: 244.8 kB / 0.5711 GB, free: 10.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.3855, allocations: 29.7 kB / 0.5711 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.3856, allocations: 204.6 kB / 0.5713 GB, free: 10.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.3857, allocations: 134.9 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3858, allocations: 74.12 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.386, allocations: 334.8 kB / 0.5718 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.3862, allocations: 100.8 kB / 0.5719 GB, free: 9.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.3865, allocations: 171.5 kB / 0.5721 GB, free: 9.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.3871, allocations: 292.6 kB / 0.5724 GB, free: 9.105 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3871, allocations: 0 / 0.5724 GB, free: 9.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007531/0.3878, allocations: 366.6 kB / 0.5727 GB, free: 8.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3879, allocations: 12 kB / 0.5727 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.3879, allocations: 3.984 kB / 0.5727 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3879, allocations: 7.938 kB / 0.5727 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.3884, allocations: 95.88 kB / 0.5728 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.3884, allocations: 7.984 kB / 0.5728 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.3887, allocations: 43.72 kB / 0.5729 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.3888, allocations: 15.98 kB / 0.5729 GB, free: 8.559 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.0001806/0.389, allocations: 157.6 kB / 0.573 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.389, allocations: 31.8 kB / 0.5731 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.3897, allocations: 321.2 kB / 0.5734 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3897, allocations: 4 kB / 0.5734 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3897, allocations: 0 / 0.5734 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3897, allocations: 0 / 0.5734 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.3901, allocations: 288.9 kB / 0.5737 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3901, allocations: 0 / 0.5737 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/0.3906, allocations: 83.88 kB / 0.5737 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.3906, allocations: 11.94 kB / 0.5737 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.3906, allocations: 7.938 kB / 0.5738 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3906, allocations: 4 kB / 0.5738 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3906, allocations: 0 / 0.5738 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000933/0.3916, allocations: 0.5108 MB / 0.5743 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3917, allocations: 47.73 kB / 0.5743 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3918, allocations: 11.98 kB / 0.5743 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.392, allocations: 12 kB / 0.5743 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.3921, allocations: 20.02 kB / 0.5743 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3921, allocations: 12 kB / 0.5744 GB, free: 6.996 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.3922, allocations: 164.5 kB / 0.5745 GB, free: 6.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3922, allocations: 0 / 0.5745 GB, free: 6.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004571/0.3927, allocations: 103.7 kB / 0.5746 GB, free: 6.734 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.0001222/0.3928, allocations: 99.19 kB / 0.5747 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007457/0.3936, allocations: 263.8 kB / 0.575 GB, free: 6.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3936, allocations: 0 / 0.575 GB, free: 6.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.3938, allocations: 123.8 kB / 0.5751 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.3942, allocations: 30.92 kB / 0.5751 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.396, allocations: 0.7863 MB / 0.5759 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.3963, allocations: 181.5 kB / 0.576 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.3965, allocations: 35.36 kB / 0.5761 GB, free: 5.168 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3965, allocations: 4 kB / 0.5761 GB, free: 5.164 MB / 414.1 MB Notification: Performance of Templates: time 0.007117/0.4036, allocations: 3.973 MB / 0.58 GB, free: 1.211 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.681929058016976]