Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00136/0.00136, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001508/0.001508, allocations: 211.6 kB / 23.73 MB, free: 4.387 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 39.94 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3074, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006527/0.314, allocations: 4.254 MB / 435.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.3176, allocations: 1.901 MB / 437.2 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.318, allocations: 11.94 kB / 437.3 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008327/0.3188, allocations: 418.2 kB / 437.7 MB, free: 44 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.3199, allocations: 477.5 kB / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.3206, allocations: 319.5 kB / 438.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.3218, allocations: 1.028 MB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.3223, allocations: 215.1 kB / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006078/0.3229, allocations: 438.6 kB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.3235, allocations: 0.5371 MB / 440.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.3237, allocations: 100 kB / 440.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.3239, allocations: 128 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.3241, allocations: 239.2 kB / 441.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003757/0.3245, allocations: 374.1 kB / 441.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.326, allocations: 1.315 MB / 442.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.326, allocations: 0 / 442.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.326, allocations: 0 / 442.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.326, allocations: 0 / 442.8 MB, free: 10.9 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00255/0.3286, allocations: 1.158 MB / 443.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.3286, allocations: 15.97 kB / 444 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.3288, allocations: 98.7 kB / 444 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005531/0.3293, allocations: 136.2 kB / 444.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.3305, allocations: 0.5151 MB / 444.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.921e-05/0.3306, allocations: 49.3 kB / 444.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.3307, allocations: 60 kB / 444.8 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.332, allocations: 0.6536 MB / 445.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.332, allocations: 7.938 kB / 445.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.3321, allocations: 24 kB / 445.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.3321, allocations: 19.94 kB / 445.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3332, allocations: 0.5127 MB / 446 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003807/0.337, allocations: 2.109 MB / 448.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009174/0.3379, allocations: 440.9 kB / 448.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.3385, allocations: 262 kB / 448.8 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.3386, allocations: 12.44 kB / 448.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.3386, allocations: 38.94 kB / 448.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.374e-06/0.3386, allocations: 4 kB / 448.9 MB, free: 4.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004209/0.3428, allocations: 1.464 MB / 450.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.3428, allocations: 56.06 kB / 450.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.3441, allocations: 0.9732 MB / 451.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.3441, allocations: 37.7 kB / 451.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.3444, allocations: 412.7 kB / 451.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.3446, allocations: 226.1 kB / 452 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.3448, allocations: 126.5 kB / 452.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.345, allocations: 330 kB / 452.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/0.3455, allocations: 225.9 kB / 452.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/0.3461, allocations: 335 kB / 453 MB, free: 396 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.3472, allocations: 0.5483 MB / 453.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3472, allocations: 3.938 kB / 453.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001402/0.3486, allocations: 0.7075 MB / 454.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3486, allocations: 8 kB / 454.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3487, allocations: 7.984 kB / 454.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.3487, allocations: 4 kB / 454.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000776/0.3495, allocations: 164.1 kB / 454.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.3495, allocations: 11.92 kB / 454.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.35, allocations: 31.98 kB / 454.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.35, allocations: 31.97 kB / 454.5 MB, free: 14.84 MB / 366.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 (85): * Single equations (assignments): 85 * 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.0003472/0.3504, allocations: 277.5 kB / 454.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3505, allocations: 87.44 kB / 454.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.3518, allocations: 0.6149 MB / 455.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.3518, allocations: 7.984 kB / 455.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3518, allocations: 0 / 455.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3519, allocations: 4 kB / 455.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.3546, allocations: 1.535 MB / 457 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3546, allocations: 0 / 457 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.3552, allocations: 128.2 kB / 457.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.3552, allocations: 4 kB / 457.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.3552, allocations: 19.98 kB / 457.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.3552, allocations: 7.938 kB / 457.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3552, allocations: 4 kB / 457.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.3564, allocations: 0.7338 MB / 457.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.3567, allocations: 131.4 kB / 458.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-05/0.3568, allocations: 15.98 kB / 458.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.3572, allocations: 27.98 kB / 458.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3573, allocations: 52.23 kB / 458.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.3574, allocations: 27.98 kB / 458.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008042/0.3582, allocations: 0.6943 MB / 458.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3582, allocations: 3.938 kB / 458.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005344/0.3587, allocations: 163.9 kB / 459 MB, free: 10.16 MB / 366.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 (63): * Single equations (assignments): 63 * 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.002776/0.3615, allocations: 1.565 MB / 460.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.3627, allocations: 0.5231 MB / 461.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3627, allocations: 0 / 461.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005465/0.3632, allocations: 258.3 kB / 461.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007762/0.364, allocations: 141.6 kB / 461.5 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009676/0.3737, allocations: 6.525 MB / 468.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.3741, allocations: 375.9 kB / 468.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004108/0.3745, allocations: 101.2 kB / 468.5 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/0.3749, allocations: 303.3 kB / 468.8 MB, free: 228 kB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3749, allocations: 0 / 468.8 MB, free: 228 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05076/0.4257, allocations: 17.43 MB / 486.2 MB, free: 14.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.82, allocations: 14.75 kB / 486.3 MB, free: 14.95 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.740041876008036]