Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001518/0.001518, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.001706/0.001706, allocations: 208.2 kB / 24.52 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 47.92 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2441, allocations: 53.36 MB / 431.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008417/0.2525, allocations: 6.603 MB / 438.5 MB, free: 196 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004452/0.257, allocations: 2.404 MB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009165/0.2579, allocations: 23.88 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008921/0.2588, allocations: 365.7 kB / 441.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.2602, allocations: 0.5444 MB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.2611, allocations: 455.2 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.2629, allocations: 1.573 MB / 443.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005987/0.2635, allocations: 354 kB / 444.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009419/0.2644, allocations: 0.6074 MB / 444.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.2653, allocations: 0.6848 MB / 445.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.2655, allocations: 160 kB / 445.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.2658, allocations: 196 kB / 445.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.2661, allocations: 330.9 kB / 446.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006342/0.2667, allocations: 0.6843 MB / 446.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.2688, allocations: 1.977 MB / 448.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2688, allocations: 0 / 448.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.2689, allocations: 11.98 kB / 448.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.2689, allocations: 0 / 448.9 MB, free: 5.812 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002849/0.2717, allocations: 1.501 MB / 450.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2718, allocations: 8.031 kB / 450.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.112e-05/0.2718, allocations: 26.19 kB / 450.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.272, allocations: 152.3 kB / 450.5 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005006/0.2725, allocations: 168.1 kB / 450.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.2736, allocations: 0.6731 MB / 451.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.2737, allocations: 74 kB / 451.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.2739, allocations: 96 kB / 451.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.2756, allocations: 0.9857 MB / 452.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.2756, allocations: 3.984 kB / 452.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/0.2757, allocations: 36 kB / 452.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.2758, allocations: 24 kB / 452.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.2774, allocations: 0.8133 MB / 453.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005303/0.2827, allocations: 3.573 MB / 457 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.2846, allocations: 0.5858 MB / 457.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/0.2852, allocations: 302.4 kB / 457.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.2853, allocations: 12.36 kB / 457.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.2853, allocations: 47.09 kB / 457.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.375e-06/0.2853, allocations: 0 / 457.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.00415/0.2895, allocations: 1.694 MB / 459.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.2895, allocations: 85.11 kB / 459.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.2908, allocations: 1.046 MB / 460.7 MB, free: 9.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.2909, allocations: 37.7 kB / 460.8 MB, free: 9.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.2913, allocations: 0.5584 MB / 461.3 MB, free: 8.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.2915, allocations: 241.9 kB / 461.6 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.2918, allocations: 166.5 kB / 461.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2919, allocations: 341.9 kB / 462.1 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007268/0.2927, allocations: 305.8 kB / 462.4 MB, free: 7.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008773/0.2935, allocations: 0.4913 MB / 462.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.295, allocations: 0.7834 MB / 463.6 MB, free: 6.523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.295, allocations: 0 / 463.6 MB, free: 6.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002036/0.2971, allocations: 0.9669 MB / 464.6 MB, free: 5.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.2971, allocations: 11.94 kB / 464.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.2971, allocations: 8 kB / 464.6 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.2971, allocations: 8 kB / 464.6 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.2983, allocations: 275.9 kB / 464.9 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.2983, allocations: 15.88 kB / 464.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007548/0.2991, allocations: 51.95 kB / 465 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.2991, allocations: 39.98 kB / 465 MB, free: 5.148 MB / 366.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 (112): * Single equations (assignments): 112 * 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.0004333/0.2996, allocations: 289.6 kB / 465.3 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.2997, allocations: 107.3 kB / 465.4 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008126/0.3006, allocations: 350.4 kB / 465.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.3006, allocations: 8 kB / 465.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.3006, allocations: 7.938 kB / 465.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.3006, allocations: 3.984 kB / 465.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.3045, allocations: 2.25 MB / 468 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.3045, allocations: 8 kB / 468 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008547/0.3053, allocations: 212.3 kB / 468.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.3053, allocations: 8 kB / 468.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.3054, allocations: 23.98 kB / 468.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/0.3054, allocations: 11.94 kB / 468.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.3054, allocations: 11.94 kB / 468.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.3071, allocations: 1.037 MB / 469.3 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.3074, allocations: 127.3 kB / 469.4 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.3075, allocations: 19.98 kB / 469.5 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.3081, allocations: 55.95 kB / 469.5 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3082, allocations: 67.67 kB / 469.6 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/0.3083, allocations: 31.98 kB / 469.6 MB, free: 304 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009895/0.3093, allocations: 0.7151 MB / 470.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3093, allocations: 0 / 470.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007979/0.3101, allocations: 212 kB / 470.5 MB, free: 15.36 MB / 382.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.003222/0.3133, allocations: 1.847 MB / 472.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.315, allocations: 0.6951 MB / 473.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.315, allocations: 4 kB / 473.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007805/0.3158, allocations: 349.4 kB / 473.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.3172, allocations: 229.8 kB / 473.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.3306, allocations: 8.471 MB / 482.1 MB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/0.3313, allocations: 1.03 MB / 483.1 MB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005697/0.3319, allocations: 127.5 kB / 483.3 MB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/0.3325, allocations: 403.3 kB / 483.7 MB, free: 1.801 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3325, allocations: 0 / 483.7 MB, free: 1.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04871/0.3812, allocations: 21.6 MB / 0.4934 GB, free: 12.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.84, allocations: 14.02 kB / 0.4934 GB, free: 12.39 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 21.181876123009715]