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.001262/0.001262, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.00132/0.00132, allocations: 190.7 kB / 24.49 MB, free: 3.941 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.358/1.358, allocations: 225.7 MB / 253.3 MB, free: 12.81 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 43.94 kB / 371.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2573, allocations: 52.18 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006284/0.2636, allocations: 4.17 MB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.2667, allocations: 1.714 MB / 429.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002832/0.267, allocations: 15.88 kB / 429.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007984/0.2678, allocations: 422.2 kB / 429.7 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007968/0.2686, allocations: 421.7 kB / 430.1 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.2693, allocations: 327.4 kB / 430.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.2704, allocations: 1.019 MB / 431.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000383/0.2708, allocations: 211.1 kB / 431.6 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004774/0.2712, allocations: 414.7 kB / 432 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006586/0.2719, allocations: 0.5255 MB / 432.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.272, allocations: 104 kB / 432.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.2723, allocations: 124 kB / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.2725, allocations: 239.2 kB / 433 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003823/0.2729, allocations: 358.2 kB / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2742, allocations: 1.292 MB / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2742, allocations: 0 / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2742, allocations: 0 / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.2742, allocations: 0 / 434.7 MB, free: 3.055 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.002337/0.2766, allocations: 1.161 MB / 435.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.2766, allocations: 12.03 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.351e-05/0.2767, allocations: 13.5 kB / 435.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.2768, allocations: 102.7 kB / 435.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.277, allocations: 104.3 kB / 436 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009476/0.2779, allocations: 0.5031 MB / 436.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/0.278, allocations: 49.44 kB / 436.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.2781, allocations: 63.95 kB / 436.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.2793, allocations: 0.6614 MB / 437.3 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.2795, allocations: 7.984 kB / 437.3 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.2795, allocations: 24 kB / 437.3 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.2795, allocations: 12 kB / 437.4 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.2808, allocations: 0.5595 MB / 437.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/0.2843, allocations: 2.101 MB / 440 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.2853, allocations: 455.5 kB / 440.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006909/0.286, allocations: 282 kB / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.286, allocations: 8.438 kB / 440.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.286, allocations: 39 kB / 440.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 1.734e-06/0.2861, allocations: 0 / 440.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004305/0.2904, allocations: 1.501 MB / 442.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.2904, allocations: 63.84 kB / 442.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.2916, allocations: 0.9419 MB / 443.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.2916, allocations: 33.7 kB / 443.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.292, allocations: 416.7 kB / 443.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.2922, allocations: 218.2 kB / 443.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.2924, allocations: 114.6 kB / 444.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2925, allocations: 334 kB / 444.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006046/0.2932, allocations: 241.9 kB / 444.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/0.2938, allocations: 343.1 kB / 445 MB, free: 8.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.2951, allocations: 0.5633 MB / 445.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2951, allocations: 4 kB / 445.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00154/0.2966, allocations: 0.7386 MB / 446.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2966, allocations: 8 kB / 446.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2966, allocations: 4.281 kB / 446.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.2966, allocations: 8 kB / 446.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.2974, allocations: 171.8 kB / 446.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.2974, allocations: 4 kB / 446.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.2979, allocations: 39.97 kB / 446.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.2979, allocations: 23.98 kB / 446.5 MB, free: 6.887 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.0003622/0.2983, allocations: 273.5 kB / 446.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.2984, allocations: 87.42 kB / 446.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.2999, allocations: 0.6306 MB / 447.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.2999, allocations: 8 kB / 447.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2999, allocations: 0 / 447.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2999, allocations: 3.984 kB / 447.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.3028, allocations: 1.561 MB / 449.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3028, allocations: 3.984 kB / 449.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.3034, allocations: 140.1 kB / 449.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3034, allocations: 8 kB / 449.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.3034, allocations: 12 kB / 449.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3034, allocations: 4 kB / 449.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.3034, allocations: 7.938 kB / 449.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3048, allocations: 0.7494 MB / 450 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.305, allocations: 131.4 kB / 450.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.3051, allocations: 12 kB / 450.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.3055, allocations: 35.97 kB / 450.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3056, allocations: 52.3 kB / 450.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.3057, allocations: 23.98 kB / 450.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008162/0.3065, allocations: 0.6826 MB / 450.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3065, allocations: 0 / 450.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005221/0.307, allocations: 151.9 kB / 451.1 MB, free: 2.172 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.002903/0.3099, allocations: 1.582 MB / 452.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.3112, allocations: 0.5458 MB / 453.2 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3112, allocations: 4.062 kB / 453.2 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006033/0.3118, allocations: 278.2 kB / 453.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.3125, allocations: 123.4 kB / 453.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009669/0.3222, allocations: 6.521 MB / 460.1 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.3226, allocations: 363.1 kB / 460.5 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003643/0.3229, allocations: 101 kB / 460.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.3234, allocations: 291.3 kB / 460.9 MB, free: 8.211 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3234, allocations: 0 / 460.9 MB, free: 8.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.3664, allocations: 16.51 MB / 477.4 MB, free: 7.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.4, allocations: 13.88 kB / 477.4 MB, free: 7.898 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.106024659937248]