Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 112 kB / 20.43 MB, free: 1.305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 182 kB / 23.72 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 43.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.25, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.009341/0.2594, allocations: 4.639 MB / 427.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004824/0.2642, allocations: 1.823 MB / 429.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/0.2648, allocations: 11.94 kB / 429.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.266, allocations: 430.2 kB / 429.5 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.2676, allocations: 425.7 kB / 429.9 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2687, allocations: 318.2 kB / 430.2 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.2708, allocations: 1.024 MB / 431.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006156/0.2714, allocations: 206.4 kB / 431.5 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008188/0.2722, allocations: 426.7 kB / 431.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.2733, allocations: 0.5216 MB / 432.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002717/0.2736, allocations: 96 kB / 432.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.2741, allocations: 128 kB / 432.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.2744, allocations: 239.2 kB / 432.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.2752, allocations: 449.7 kB / 433.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.2775, allocations: 1.277 MB / 434.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2775, allocations: 4 kB / 434.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2775, allocations: 0 / 434.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.407e-05/0.2775, allocations: 0 / 434.6 MB, free: 2.578 MB / 334.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.003855/0.2814, allocations: 1.154 MB / 435.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2814, allocations: 16.03 kB / 435.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000209/0.2816, allocations: 106.7 kB / 435.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000323/0.282, allocations: 100.3 kB / 436 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.2835, allocations: 0.4914 MB / 436.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.2835, allocations: 45.69 kB / 436.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.2837, allocations: 63.88 kB / 436.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.2857, allocations: 0.6441 MB / 437.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.2857, allocations: 7.953 kB / 437.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.2857, allocations: 20 kB / 437.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.2858, allocations: 19.98 kB / 437.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.2873, allocations: 0.5594 MB / 437.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005054/0.2924, allocations: 2.449 MB / 440.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.2935, allocations: 462.8 kB / 440.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/0.2942, allocations: 286 kB / 441 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.2942, allocations: 4.438 kB / 441 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.2943, allocations: 39 kB / 441 MB, free: 11.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/0.2943, allocations: 0 / 441 MB, free: 11.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004767/0.2991, allocations: 1.505 MB / 442.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.2992, allocations: 59.91 kB / 442.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.3006, allocations: 0.9419 MB / 443.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/0.3007, allocations: 37.7 kB / 443.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.3011, allocations: 408.7 kB / 444 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.3013, allocations: 210.1 kB / 444.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.3015, allocations: 134.5 kB / 444.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3017, allocations: 326 kB / 444.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.3024, allocations: 245.9 kB / 444.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/0.3031, allocations: 343.1 kB / 445.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.3044, allocations: 0.5633 MB / 445.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3044, allocations: 0 / 445.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001668/0.306, allocations: 0.7386 MB / 446.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.3061, allocations: 4 kB / 446.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3061, allocations: 4 kB / 446.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.3061, allocations: 8.266 kB / 446.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.3069, allocations: 175.8 kB / 446.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.3069, allocations: 4 kB / 446.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005629/0.3074, allocations: 43.95 kB / 446.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.3075, allocations: 20 kB / 446.8 MB, free: 6.062 MB / 350.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.000403/0.3079, allocations: 269.6 kB / 447 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.3081, allocations: 87.42 kB / 447.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.3096, allocations: 0.6305 MB / 447.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.3096, allocations: 15.94 kB / 447.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3096, allocations: 0 / 447.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.3096, allocations: 3.984 kB / 447.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/0.3131, allocations: 1.771 MB / 449.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3131, allocations: 0 / 449.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/0.3136, allocations: 131.8 kB / 449.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.3137, allocations: 8 kB / 449.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.3137, allocations: 12 kB / 449.7 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3137, allocations: 4.312 kB / 449.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3137, allocations: 12 kB / 449.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.3151, allocations: 0.7533 MB / 450.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.3154, allocations: 131.4 kB / 450.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.3155, allocations: 12 kB / 450.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.316, allocations: 43.94 kB / 450.6 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3161, allocations: 52.23 kB / 450.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.3161, allocations: 20 kB / 450.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008758/0.317, allocations: 0.6826 MB / 451.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.317, allocations: 0 / 451.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005571/0.3175, allocations: 155.9 kB / 451.5 MB, free: 1.102 MB / 350.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.002911/0.3204, allocations: 1.56 MB / 453.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.3218, allocations: 0.5532 MB / 453.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3218, allocations: 0 / 453.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.3224, allocations: 271.3 kB / 453.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.3231, allocations: 134.4 kB / 454 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.3338, allocations: 6.51 MB / 460.5 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007509/0.3346, allocations: 0.9747 MB / 461.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003768/0.3349, allocations: 93.05 kB / 461.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/0.3354, allocations: 291.3 kB / 461.9 MB, free: 6.535 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3354, allocations: 0 / 461.9 MB, free: 6.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.3866, allocations: 16.14 MB / 478 MB, free: 6.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.78, allocations: 8 kB / 478 MB, free: 6.535 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.00159936 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 15.568830062868074]