Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.0008346/0.0008346, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003121/0.003121, allocations: 160.7 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8618/0.8618, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.404e-05, allocations: 4.531 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005506/0.00553, allocations: 5.834 MB / 331.7 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.008758, allocations: 2.31 MB / 334 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005437/0.009302, allocations: 19.94 kB / 334 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007057/0.01001, allocations: 353.7 kB / 334.3 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008473/0.01086, allocations: 0.5585 MB / 334.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.0115, allocations: 451.2 kB / 335.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.01284, allocations: 1.612 MB / 337 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.01322, allocations: 326 kB / 337.3 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007024/0.01392, allocations: 0.9082 MB / 338.2 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.01439, allocations: 0.5298 MB / 338.7 MB, free: 2.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.01451, allocations: 160 kB / 338.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.01471, allocations: 199.9 kB / 339.1 MB, free: 2.129 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.01491, allocations: 330.8 kB / 339.4 MB, free: 1.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.01521, allocations: 474.9 kB / 339.8 MB, free: 1.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.01652, allocations: 2.025 MB / 341.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01652, allocations: 0 / 341.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01652, allocations: 0 / 341.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.01654, allocations: 0 / 341.9 MB, free: 15.3 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002081/0.01862, allocations: 1.493 MB / 343.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.01865, allocations: 12.03 kB / 343.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.01896, allocations: 168.1 kB / 343.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007842/0.01975, allocations: 0.6736 MB / 344.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.01979, allocations: 78 kB / 344.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/0.01989, allocations: 103.9 kB / 344.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.02098, allocations: 1.024 MB / 345.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.02101, allocations: 7.938 kB / 345.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.02107, allocations: 40 kB / 345.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.02108, allocations: 31.92 kB / 345.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.02211, allocations: 0.8133 MB / 346.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.02511, allocations: 2.9 MB / 349.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.0262, allocations: 0.5907 MB / 349.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.02676, allocations: 290.5 kB / 350.1 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.0268, allocations: 11.98 kB / 350.1 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.02682, allocations: 38.56 kB / 350.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 1.853e-06/0.02682, allocations: 0 / 350.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002241/0.02906, allocations: 1.675 MB / 351.8 MB, free: 5.141 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.0291, allocations: 85.11 kB / 351.9 MB, free: 5.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.02982, allocations: 0.9069 MB / 352.8 MB, free: 4.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.02985, allocations: 37.7 kB / 352.8 MB, free: 4.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.03011, allocations: 0.5738 MB / 353.4 MB, free: 3.496 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.03022, allocations: 242 kB / 353.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.03038, allocations: 158.6 kB / 353.8 MB, free: 3.098 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.03049, allocations: 398.7 kB / 354.2 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.03091, allocations: 309.8 kB / 354.5 MB, free: 2.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.0314, allocations: 495.1 kB / 355 MB, free: 1.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.03226, allocations: 0.7834 MB / 355.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.03226, allocations: 3.938 kB / 355.8 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001104/0.03337, allocations: 0.9673 MB / 356.7 MB, free: 8 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.03339, allocations: 11.98 kB / 356.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.0334, allocations: 4 kB / 356.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.03342, allocations: 12 kB / 356.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.03398, allocations: 275.6 kB / 357 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.03399, allocations: 8 kB / 357 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.0343, allocations: 51.95 kB / 357.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.03452, allocations: 43.92 kB / 357.1 MB, free: 15.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0002537/0.03477, allocations: 285.5 kB / 357.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.03486, allocations: 95.39 kB / 357.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.03528, allocations: 345.4 kB / 357.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.03529, allocations: 4 kB / 357.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.0353, allocations: 4 kB / 357.8 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.0353, allocations: 0 / 357.8 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.03734, allocations: 1.999 MB / 359.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.03734, allocations: 4 kB / 359.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.03774, allocations: 216.4 kB / 360.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.03774, allocations: 8 kB / 360.1 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.03777, allocations: 27.88 kB / 360.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.03778, allocations: 15.98 kB / 360.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.03778, allocations: 11.94 kB / 360.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.03865, allocations: 1.002 MB / 361.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.03876, allocations: 111.3 kB / 361.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.03882, allocations: 31.94 kB / 361.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.03911, allocations: 47.95 kB / 361.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.03918, allocations: 63.78 kB / 361.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.03921, allocations: 24 kB / 361.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000466/0.03967, allocations: 0.6201 MB / 362 MB, free: 10.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.03967, allocations: 3.938 kB / 362 MB, free: 10.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005124/0.04019, allocations: 216 kB / 362.2 MB, free: 10.26 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 simulation (67): * Single equations (assignments): 67 * 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.0006607/0.04085, allocations: 402.6 kB / 362.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008865/0.04173, allocations: 0.6991 MB / 363.3 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.04174, allocations: 0 / 363.3 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.04215, allocations: 350.2 kB / 363.7 MB, free: 8.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.04284, allocations: 221.9 kB / 363.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.04491, allocations: 1.925 MB / 365.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.04519, allocations: 443.7 kB / 366.2 MB, free: 6.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.04537, allocations: 80.47 kB / 366.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.04537, allocations: 0 / 366.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of Templates: time 0.01111/0.05648, allocations: 13.44 MB / 379.8 MB, free: 8.781 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.339322221465409]