Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001883/0.001883, allocations: 115.7 kB / 21.94 MB, free: 5.215 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.002356/0.002356, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.525/1.525, allocations: 207.7 MB / 236.1 MB, free: 9.816 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [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.002074/0.002074, allocations: 55.92 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2772, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005428/0.2826, allocations: 4.112 MB / 401.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.2857, allocations: 1.67 MB / 403.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.2862, allocations: 16.94 kB / 403.4 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008338/0.287, allocations: 412.7 kB / 403.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009545/0.288, allocations: 423.3 kB / 404.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.2886, allocations: 302.4 kB / 404.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.2896, allocations: 1.025 MB / 405.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.29, allocations: 191.2 kB / 405.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004807/0.2904, allocations: 418.1 kB / 406.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005971/0.291, allocations: 492.3 kB / 406.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.2912, allocations: 95.62 kB / 406.7 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.2914, allocations: 128.7 kB / 406.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.2916, allocations: 242 kB / 407.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.2919, allocations: 360.1 kB / 407.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.2931, allocations: 1.285 MB / 408.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.2931, allocations: 0 / 408.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.2931, allocations: 3.984 kB / 408.7 MB, free: 3.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.2931, allocations: 5.375 kB / 408.7 MB, free: 3.109 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002007/0.2951, allocations: 1.153 MB / 409.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2952, allocations: 8.625 kB / 409.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.2953, allocations: 107.1 kB / 410 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.2962, allocations: 0.492 MB / 410.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.2962, allocations: 46 kB / 410.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.485e-05/0.2963, allocations: 67 kB / 410.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2974, allocations: 0.6698 MB / 411.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.2975, allocations: 5.047 kB / 411.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.2975, allocations: 25.62 kB / 411.3 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.2975, allocations: 18.47 kB / 411.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.2987, allocations: 0.5517 MB / 411.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.302, allocations: 2.002 MB / 413.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009727/0.303, allocations: 452.5 kB / 414.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.3037, allocations: 282.5 kB / 414.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.3037, allocations: 7.031 kB / 414.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3038, allocations: 37.28 kB / 414.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.906e-06/0.3038, allocations: 0 / 414.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004735/0.3085, allocations: 1.499 MB / 416.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.3086, allocations: 58.31 kB / 416.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.3099, allocations: 0.892 MB / 417.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.3099, allocations: 35.86 kB / 417.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.3103, allocations: 410.1 kB / 417.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.3105, allocations: 214.6 kB / 417.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.3107, allocations: 124.8 kB / 417.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.3109, allocations: 391.2 kB / 418.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/0.3116, allocations: 241.6 kB / 418.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007108/0.3123, allocations: 348.4 kB / 418.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.3136, allocations: 0.565 MB / 419.4 MB, free: 12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3136, allocations: 1.125 kB / 419.4 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001731/0.3153, allocations: 0.7278 MB / 420.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3153, allocations: 6.688 kB / 420.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3154, allocations: 5.531 kB / 420.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.3154, allocations: 6.094 kB / 420.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.3162, allocations: 178.8 kB / 420.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.3162, allocations: 9.094 kB / 420.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.3168, allocations: 38.77 kB / 420.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.3168, allocations: 25.72 kB / 420.3 MB, free: 11.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0004819/0.3173, allocations: 261.4 kB / 420.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.3174, allocations: 74.97 kB / 420.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.319, allocations: 0.635 MB / 421.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.319, allocations: 5.469 kB / 421.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.319, allocations: 0 / 421.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.319, allocations: 5.453 kB / 421.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/0.3221, allocations: 1.485 MB / 422.8 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.3221, allocations: 4 kB / 422.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.3227, allocations: 131.8 kB / 422.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.3227, allocations: 4.312 kB / 422.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.3228, allocations: 23.94 kB / 423 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.689e-06/0.3228, allocations: 7.938 kB / 423 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3228, allocations: 4 kB / 423 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.3243, allocations: 0.7417 MB / 423.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.3247, allocations: 135.4 kB / 423.9 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/0.3248, allocations: 15.94 kB / 423.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.3252, allocations: 39.91 kB / 423.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.3253, allocations: 40.36 kB / 423.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.3254, allocations: 23.98 kB / 424 MB, free: 8.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008929/0.3262, allocations: 0.6357 MB / 424.6 MB, free: 7.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3262, allocations: 0 / 424.6 MB, free: 7.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006408/0.3269, allocations: 152 kB / 424.8 MB, free: 7.621 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.001503/0.3284, allocations: 406.5 kB / 425.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.3299, allocations: 0.5492 MB / 425.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.3299, allocations: 12.5 kB / 425.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006648/0.3306, allocations: 274.2 kB / 426 MB, free: 6.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008326/0.3314, allocations: 115.6 kB / 426.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.3345, allocations: 1.634 MB / 427.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.3349, allocations: 363 kB / 428.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.3351, allocations: 59.42 kB / 428.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3351, allocations: 3.938 kB / 428.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of Templates: time 0.01676/0.3519, allocations: 10 MB / 438.1 MB, free: 10.09 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.12044783262536]