Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001699/0.001699, allocations: 101.6 kB / 21.93 MB, free: 5.203 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.002062/0.002062, allocations: 202.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00185/0.00185, allocations: 59.92 kB / 348.4 MB, free: 9.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2936, allocations: 49.15 MB / 397.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007329/0.3009, allocations: 5.628 MB / 403.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004481/0.3054, allocations: 2.063 MB / 405.3 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.3067, allocations: 23.88 kB / 405.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.3078, allocations: 352.1 kB / 405.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.3095, allocations: 0.4909 MB / 406.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3105, allocations: 433.4 kB / 406.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.3122, allocations: 1.549 MB / 408.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005333/0.3128, allocations: 330.7 kB / 408.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007892/0.3136, allocations: 0.5877 MB / 409 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007478/0.3143, allocations: 0.5964 MB / 409.6 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.3145, allocations: 164.1 kB / 409.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.3149, allocations: 187.6 kB / 410 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.3151, allocations: 330.3 kB / 410.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.3157, allocations: 0.5341 MB / 410.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.3175, allocations: 1.951 MB / 412.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.3175, allocations: 9.25 kB / 412.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3175, allocations: 0 / 412.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.3176, allocations: 0 / 412.8 MB, free: 15.96 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003463/0.321, allocations: 1.497 MB / 414.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3211, allocations: 13.34 kB / 414.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.3213, allocations: 135.7 kB / 414.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.3227, allocations: 0.6493 MB / 415.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.863e-05/0.3228, allocations: 73.56 kB / 415.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.3229, allocations: 105.7 kB / 415.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.3251, allocations: 1.057 MB / 416.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.3251, allocations: 5.156 kB / 416.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/0.3252, allocations: 40.28 kB / 416.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.3252, allocations: 22.78 kB / 416.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.3273, allocations: 0.8785 MB / 417.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005505/0.3328, allocations: 2.878 MB / 420.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/0.3359, allocations: 0.8529 MB / 421 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008136/0.3367, allocations: 339.3 kB / 421.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.102e-05/0.3367, allocations: 15.7 kB / 421.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.3368, allocations: 42.88 kB / 421.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 3.747e-06/0.3368, allocations: 0 / 421.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.005224/0.342, allocations: 1.805 MB / 423.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.3421, allocations: 87.86 kB / 423.3 MB, free: 9.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.3433, allocations: 0.8531 MB / 424.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.3434, allocations: 37.7 kB / 424.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/0.3438, allocations: 0.5466 MB / 424.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.344, allocations: 242 kB / 424.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.3443, allocations: 158.6 kB / 425.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.3446, allocations: 390.7 kB / 425.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009454/0.3455, allocations: 345.7 kB / 425.8 MB, free: 6.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.3467, allocations: 0.5262 MB / 426.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.3487, allocations: 0.8319 MB / 427.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3487, allocations: 0 / 427.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002464/0.3511, allocations: 1.005 MB / 428.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3512, allocations: 8 kB / 428.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3512, allocations: 11.94 kB / 428.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.3512, allocations: 11.98 kB / 428.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.3525, allocations: 279.6 kB / 428.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.3525, allocations: 19.94 kB / 428.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008927/0.3534, allocations: 67.92 kB / 428.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-05/0.3534, allocations: 35.98 kB / 428.6 MB, free: 3.73 MB / 334.1 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 (108): * Single equations (assignments): 108 * 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.0005203/0.354, allocations: 285.6 kB / 428.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.3541, allocations: 87.44 kB / 429 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.3552, allocations: 384.8 kB / 429.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3552, allocations: 8 kB / 429.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.3552, allocations: 0 / 429.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.3552, allocations: 3.984 kB / 429.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/0.3593, allocations: 1.999 MB / 431.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.3593, allocations: 12.06 kB / 431.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/0.3602, allocations: 211.7 kB / 431.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.3602, allocations: 8 kB / 431.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.3603, allocations: 23.98 kB / 431.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/0.3603, allocations: 11.94 kB / 431.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.3603, allocations: 15.94 kB / 431.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.3622, allocations: 1.025 MB / 432.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.3625, allocations: 95.41 kB / 432.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.3626, allocations: 23.98 kB / 432.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.3632, allocations: 51.95 kB / 432.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.3633, allocations: 71.66 kB / 432.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.3634, allocations: 28 kB / 432.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008566/0.3642, allocations: 0.581 MB / 433.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3642, allocations: 0 / 433.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009012/0.3651, allocations: 207.9 kB / 433.7 MB, free: 14.38 MB / 350.1 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.001504/0.3667, allocations: 396.6 kB / 434.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.3687, allocations: 0.7342 MB / 434.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.3687, allocations: 4 kB / 434.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000852/0.3695, allocations: 349.3 kB / 435.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.3708, allocations: 196 kB / 435.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.3744, allocations: 1.954 MB / 437.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.3749, allocations: 434.8 kB / 437.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.3752, allocations: 71.41 kB / 437.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3752, allocations: 0 / 437.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Templates: time 0.02152/0.3967, allocations: 12.97 MB / 450.8 MB, free: 13.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.731956263072789]