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.001538/0.001538, allocations: 115.7 kB / 19.16 MB, free: 3.922 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.001667/0.001667, allocations: 203.9 kB / 22.12 MB, free: 0.9805 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.396/1.396, allocations: 207.6 MB / 232.5 MB, free: 11.51 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [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.001708/0.001708, allocations: 57.08 kB / 343 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2539, allocations: 49.13 MB / 392.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004965/0.2589, allocations: 4.539 MB / 396.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.2616, allocations: 1.757 MB / 398.4 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003307/0.2619, allocations: 14.28 kB / 398.4 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007101/0.2626, allocations: 425.8 kB / 398.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000729/0.2634, allocations: 420.1 kB / 399.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.264, allocations: 302 kB / 399.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009809/0.2649, allocations: 1.018 MB / 400.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.2653, allocations: 217.8 kB / 400.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.2657, allocations: 422.3 kB / 401.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005668/0.2663, allocations: 0.5252 MB / 401.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.2664, allocations: 96.78 kB / 401.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.2666, allocations: 124.1 kB / 401.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.2668, allocations: 233.8 kB / 402.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.2672, allocations: 458 kB / 402.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.2685, allocations: 1.278 MB / 403.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2685, allocations: 4 kB / 403.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2685, allocations: 3.938 kB / 403.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.2685, allocations: 0 / 403.9 MB, free: 1.965 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.002155/0.2707, allocations: 1.226 MB / 405.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2707, allocations: 12.69 kB / 405.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.769e-05/0.2707, allocations: 17.61 kB / 405.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.2708, allocations: 100.2 kB / 405.2 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.271, allocations: 103.1 kB / 405.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/0.2719, allocations: 0.5635 MB / 405.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.2719, allocations: 49.69 kB / 406 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-05/0.272, allocations: 62.17 kB / 406 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.2732, allocations: 0.6444 MB / 406.7 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.2732, allocations: 4.562 kB / 406.7 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/0.2733, allocations: 25.62 kB / 406.7 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.2733, allocations: 15.09 kB / 406.7 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.2745, allocations: 0.5603 MB / 407.3 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.2784, allocations: 2.534 MB / 409.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.2795, allocations: 453.2 kB / 410.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000735/0.2802, allocations: 287.3 kB / 410.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.2802, allocations: 13.94 kB / 410.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2803, allocations: 37.12 kB / 410.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/0.2803, allocations: 1 kB / 410.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004653/0.2849, allocations: 1.501 MB / 412.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.285, allocations: 62.12 kB / 412.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.2862, allocations: 0.9439 MB / 413.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.2862, allocations: 36.8 kB / 413.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.2866, allocations: 409.2 kB / 413.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.2868, allocations: 218.7 kB / 413.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.287, allocations: 120.4 kB / 413.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2871, allocations: 331.6 kB / 414.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.2878, allocations: 240.8 kB / 414.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.2885, allocations: 347.5 kB / 414.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.2897, allocations: 0.564 MB / 415.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2897, allocations: 0 / 415.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001642/0.2914, allocations: 0.7341 MB / 416 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2914, allocations: 6.094 kB / 416 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2914, allocations: 6.672 kB / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.2914, allocations: 9.406 kB / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.2922, allocations: 174.8 kB / 416.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.2922, allocations: 9.609 kB / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.2928, allocations: 42.61 kB / 416.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.2928, allocations: 21.62 kB / 416.3 MB, free: 10.03 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.0003878/0.2932, allocations: 273.5 kB / 416.6 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.2933, allocations: 88.91 kB / 416.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.2949, allocations: 0.6346 MB / 417.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2949, allocations: 5.5 kB / 417.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2949, allocations: 0 / 417.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.2949, allocations: 5.359 kB / 417.3 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.298, allocations: 1.805 MB / 419.1 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.298, allocations: 3.219 kB / 419.1 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.2986, allocations: 131.7 kB / 419.2 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.2986, allocations: 5.344 kB / 419.2 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.2986, allocations: 22.08 kB / 419.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.2986, allocations: 4.906 kB / 419.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.2986, allocations: 3.406 kB / 419.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.3, allocations: 0.7544 MB / 420 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.3003, allocations: 207.1 kB / 420.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.782e-05/0.3004, allocations: 21.86 kB / 420.3 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.3008, allocations: 39.69 kB / 420.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3009, allocations: 51.28 kB / 420.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.301, allocations: 18.88 kB / 420.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008666/0.3018, allocations: 0.6839 MB / 421 MB, free: 6.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3018, allocations: 0 / 421 MB, free: 6.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005978/0.3024, allocations: 152.7 kB / 421.2 MB, free: 6.809 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.003067/0.3055, allocations: 1.559 MB / 422.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.307, allocations: 0.5536 MB / 423.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.307, allocations: 0 / 423.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006534/0.3076, allocations: 275.3 kB / 423.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008776/0.3085, allocations: 126.8 kB / 423.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.3193, allocations: 6.508 MB / 430.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.32, allocations: 0.9631 MB / 431.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004084/0.3204, allocations: 89.05 kB / 431.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/0.3208, allocations: 295.3 kB / 431.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3208, allocations: 3.938 kB / 431.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/0.3594, allocations: 15.67 MB / 447.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.539/9.898, allocations: 8.062 kB / 447.2 MB, free: 12.33 MB / 366.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.00159936 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] 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: 12.66495547600789]