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.001554/0.001554, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001847/0.001847, allocations: 163.4 kB / 25.02 MB, free: 8.43 MB / 18.57 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.481/1.481, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.047e-05, allocations: 9.406 kB / 250.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007177/0.007207, allocations: 4.116 MB / 254.5 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.01076, allocations: 1.676 MB / 256.2 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004312/0.01119, allocations: 11.94 kB / 256.2 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009374/0.01212, allocations: 422.1 kB / 256.6 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.0133, allocations: 425.5 kB / 257 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008039/0.01411, allocations: 315.4 kB / 257.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.01545, allocations: 1.047 MB / 258.4 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.01583, allocations: 187.1 kB / 258.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007666/0.0166, allocations: 0.5886 MB / 259.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007057/0.0173, allocations: 442.9 kB / 259.6 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.01745, allocations: 96 kB / 259.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.01771, allocations: 127.9 kB / 259.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.01797, allocations: 243.2 kB / 260 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.01833, allocations: 295.3 kB / 260.3 MB, free: 9.934 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.01991, allocations: 1.301 MB / 261.6 MB, free: 8.629 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.01992, allocations: 0 / 261.6 MB, free: 8.629 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01992, allocations: 0 / 261.6 MB, free: 8.629 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.01993, allocations: 0 / 261.6 MB, free: 8.629 MB / 250.7 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.002506/0.02244, allocations: 1.15 MB / 262.8 MB, free: 7.445 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.02248, allocations: 8.031 kB / 262.8 MB, free: 7.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.02276, allocations: 148.3 kB / 262.9 MB, free: 7.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.02384, allocations: 0.5102 MB / 263.4 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.0239, allocations: 45.69 kB / 263.5 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.02402, allocations: 72.23 kB / 263.5 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.02543, allocations: 0.6697 MB / 264.2 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.02547, allocations: 3.938 kB / 264.2 MB, free: 5.945 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/0.02553, allocations: 24 kB / 264.2 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.02555, allocations: 19.98 kB / 264.3 MB, free: 5.902 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.02693, allocations: 0.5477 MB / 264.8 MB, free: 5.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.031, allocations: 2.021 MB / 266.8 MB, free: 3.262 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.03204, allocations: 450.5 kB / 267.3 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/0.03282, allocations: 282.2 kB / 267.5 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/0.03287, allocations: 12.44 kB / 267.5 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.03291, allocations: 39.06 kB / 267.6 MB, free: 2.477 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 3.867e-06/0.03292, allocations: 3.984 kB / 267.6 MB, free: 2.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.005065/0.03798, allocations: 1.519 MB / 269.1 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.03805, allocations: 63.84 kB / 269.2 MB, free: 0.875 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.0393, allocations: 0.883 MB / 270.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.03937, allocations: 37.7 kB / 270.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.03975, allocations: 416.4 kB / 270.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.03998, allocations: 210.2 kB / 270.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.04021, allocations: 114.6 kB / 270.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.04047, allocations: 394.8 kB / 271.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000683/0.04115, allocations: 237.9 kB / 271.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.04196, allocations: 343.1 kB / 271.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.04342, allocations: 0.571 MB / 272.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.04342, allocations: 4 kB / 272.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001905/0.04533, allocations: 0.7466 MB / 273.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.04535, allocations: 6.656 kB / 273.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.04537, allocations: 4 kB / 273.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.0454, allocations: 4 kB / 273.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008672/0.04626, allocations: 180 kB / 273.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.04628, allocations: 11.92 kB / 273.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.04684, allocations: 35.97 kB / 273.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.0469, allocations: 27.98 kB / 273.4 MB, free: 12.6 MB / 266.7 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.0004673/0.04736, allocations: 261.6 kB / 273.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.04754, allocations: 103.5 kB / 273.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.04939, allocations: 0.63 MB / 274.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.0494, allocations: 8 kB / 274.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.04941, allocations: 3.938 kB / 274.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.04941, allocations: 3.984 kB / 274.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.0527, allocations: 1.49 MB / 275.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.0527, allocations: 0 / 275.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006567/0.05336, allocations: 127.8 kB / 276 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.05337, allocations: 8.312 kB / 276 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.05341, allocations: 16 kB / 276 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.901e-05/0.05343, allocations: 7.938 kB / 276 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/0.05344, allocations: 11.92 kB / 276 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.05505, allocations: 0.7537 MB / 276.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.05533, allocations: 119.5 kB / 276.9 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/0.05542, allocations: 12 kB / 276.9 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.05588, allocations: 39.91 kB / 276.9 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.05601, allocations: 52.3 kB / 277 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.05605, allocations: 23.98 kB / 277 MB, free: 8.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009462/0.057, allocations: 0.6396 MB / 277.6 MB, free: 8.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.057, allocations: 4 kB / 277.7 MB, free: 8.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006579/0.05766, allocations: 155.9 kB / 277.8 MB, free: 8.008 MB / 266.7 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.0018/0.05946, allocations: 386.7 kB / 278.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.061, allocations: 0.5618 MB / 278.7 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.061, allocations: 0 / 278.7 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007002/0.0617, allocations: 274.7 kB / 279 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008119/0.06251, allocations: 139.4 kB / 279.1 MB, free: 6.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.06557, allocations: 1.557 MB / 280.7 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/0.06629, allocations: 367 kB / 281.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003813/0.06667, allocations: 88.83 kB / 281.2 MB, free: 4.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.06687, allocations: 52.48 kB / 281.2 MB, free: 4.539 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.06687, allocations: 4 kB / 281.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of Templates: time 0.01682/0.08369, allocations: 7.483 MB / 288.7 MB, free: 13.04 MB / 282.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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: 4.877094212104566]