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.0009275/0.0009275, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001137/0.001137, allocations: 168.5 kB / 25.33 MB, free: 9.465 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 0.8937/0.8937, allocations: 158.6 MB / 187.2 MB, free: 2.523 MB / 170.7 MB " [Timeout remaining time 179] 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 2.024e-06/2.024e-06, allocations: 0 / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.706e-05, allocations: 6.312 kB / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004799/0.004826, allocations: 4.494 MB / 255.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.007168, allocations: 1.746 MB / 257.3 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.00741, allocations: 15.94 kB / 257.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.00803, allocations: 422.1 kB / 257.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006732/0.008703, allocations: 425.5 kB / 258.1 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.009419, allocations: 307.4 kB / 258.4 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009114/0.01033, allocations: 1.047 MB / 259.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.01062, allocations: 191.1 kB / 259.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005022/0.01112, allocations: 0.5887 MB / 260.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.01157, allocations: 458.9 kB / 260.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.619e-05/0.01167, allocations: 96 kB / 260.8 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.01184, allocations: 123.9 kB / 260.9 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.01201, allocations: 239.2 kB / 261.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.01223, allocations: 299.2 kB / 261.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.0129, allocations: 0.7201 MB / 262.2 MB, free: 8.418 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.0129, allocations: 0 / 262.2 MB, free: 8.418 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0129, allocations: 0 / 262.2 MB, free: 8.418 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.01291, allocations: 0 / 262.2 MB, free: 8.418 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.001394/0.0143, allocations: 1.242 MB / 263.4 MB, free: 7.137 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.01435, allocations: 8.031 kB / 263.4 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.01452, allocations: 148.3 kB / 263.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.01511, allocations: 0.509 MB / 264.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.01515, allocations: 45.69 kB / 264.1 MB, free: 6.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/0.01523, allocations: 64.36 kB / 264.2 MB, free: 6.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.0159, allocations: 0.5225 MB / 264.7 MB, free: 5.789 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.01592, allocations: 3.938 kB / 264.7 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.01596, allocations: 20 kB / 264.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.01598, allocations: 16 kB / 264.7 MB, free: 5.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.01641, allocations: 271.6 kB / 265 MB, free: 5.484 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.01874, allocations: 2.026 MB / 267 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.01915, allocations: 275.1 kB / 267.3 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.01946, allocations: 177.1 kB / 267.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.0195, allocations: 12.44 kB / 267.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.01953, allocations: 45.89 kB / 267.5 MB, free: 2.855 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.744e-06/0.01953, allocations: 0 / 267.5 MB, free: 2.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001638/0.02116, allocations: 0.9808 MB / 268.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.0212, allocations: 59.84 kB / 268.6 MB, free: 1.801 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005309/0.02173, allocations: 0.7181 MB / 269.3 MB, free: 1.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.02176, allocations: 37.7 kB / 269.3 MB, free: 1.027 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.022, allocations: 471.2 kB / 269.8 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.02211, allocations: 214.1 kB / 270 MB, free: 356 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.02224, allocations: 132.3 kB / 270.1 MB, free: 216 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.02243, allocations: 0.5625 MB / 270.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.02261, allocations: 101.9 kB / 270.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.02285, allocations: 235.4 kB / 271 MB, free: 15.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.02326, allocations: 345.2 kB / 271.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02327, allocations: 0 / 271.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006012/0.02387, allocations: 0.4889 MB / 271.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.02389, allocations: 7.984 kB / 271.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02389, allocations: 4 kB / 271.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.02391, allocations: 4 kB / 271.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.0243, allocations: 172 kB / 272 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.02431, allocations: 7.938 kB / 272 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.02449, allocations: 27.98 kB / 272.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.02452, allocations: 27.98 kB / 272.1 MB, free: 14.15 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.0001527/0.02467, allocations: 184.5 kB / 272.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.02476, allocations: 95.53 kB / 272.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006462/0.02541, allocations: 417.1 kB / 272.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.02542, allocations: 12 kB / 272.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.02542, allocations: 3.938 kB / 272.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.02543, allocations: 3.984 kB / 272.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.02678, allocations: 1.318 MB / 274.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.02678, allocations: 4 kB / 274.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.02705, allocations: 123.8 kB / 274.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.02706, allocations: 4 kB / 274.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.02708, allocations: 12 kB / 274.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.02708, allocations: 8 kB / 274.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.02709, allocations: 3.938 kB / 274.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.0276, allocations: 0.6297 MB / 274.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.02774, allocations: 131.4 kB / 275 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.02779, allocations: 15.98 kB / 275 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.02795, allocations: 31.97 kB / 275.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.02802, allocations: 48.3 kB / 275.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.02805, allocations: 16 kB / 275.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003477/0.02839, allocations: 479 kB / 275.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02839, allocations: 0 / 275.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003414/0.02874, allocations: 151.9 kB / 275.7 MB, free: 10.32 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.0007226/0.02946, allocations: 357.8 kB / 276.1 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.02992, allocations: 344.7 kB / 276.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02992, allocations: 0 / 276.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.03011, allocations: 180.5 kB / 276.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.03057, allocations: 138.7 kB / 276.7 MB, free: 9.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.03223, allocations: 1.356 MB / 278.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.03234, allocations: 168.1 kB / 278.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000218/0.03256, allocations: 92.8 kB / 278.3 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.03269, allocations: 56.48 kB / 278.4 MB, free: 7.574 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03269, allocations: 0 / 278.4 MB, free: 7.574 MB / 266.7 MB Notification: Performance of Templates: time 0.01049/0.04318, allocations: 7.513 MB / 285.9 MB, free: 52 kB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0834401538595557]