Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 211 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 67.83 kB / 378.6 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3008, allocations: 53.4 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006827/0.3076, allocations: 4.722 MB / 436.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.3114, allocations: 2.014 MB / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.3119, allocations: 11.94 kB / 438.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008488/0.3128, allocations: 426.2 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.3139, allocations: 477.5 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007394/0.3146, allocations: 315.5 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.3158, allocations: 1.047 MB / 441 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.3162, allocations: 214.7 kB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006324/0.3168, allocations: 438.6 kB / 441.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007108/0.3175, allocations: 0.541 MB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.3176, allocations: 96 kB / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.3179, allocations: 132 kB / 442.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.3181, allocations: 239.2 kB / 442.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.3186, allocations: 461.6 kB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.32, allocations: 1.301 MB / 444.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.32, allocations: 8 kB / 444.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.32, allocations: 0 / 444.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.32, allocations: 0 / 444.3 MB, free: 10.26 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.002258/0.3223, allocations: 1.166 MB / 445.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3223, allocations: 12.03 kB / 445.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.702e-05/0.3224, allocations: 17.5 kB / 445.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.3225, allocations: 98.7 kB / 445.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.323, allocations: 136.2 kB / 445.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.3239, allocations: 0.5156 MB / 446.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.324, allocations: 49.25 kB / 446.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.907e-05/0.3241, allocations: 60 kB / 446.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.3252, allocations: 0.6246 MB / 447 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3252, allocations: 0 / 447 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.3253, allocations: 31.98 kB / 447 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.3253, allocations: 16 kB / 447.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.3264, allocations: 0.5204 MB / 447.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003919/0.3304, allocations: 2.464 MB / 450 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.3313, allocations: 449.1 kB / 450.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006397/0.3319, allocations: 273.4 kB / 450.8 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.3319, allocations: 4.438 kB / 450.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.332, allocations: 39 kB / 450.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.384e-06/0.332, allocations: 0 / 450.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004389/0.3364, allocations: 1.46 MB / 452.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.3364, allocations: 60.06 kB / 452.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.3377, allocations: 0.9693 MB / 453.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.3378, allocations: 37.7 kB / 453.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.3381, allocations: 420.7 kB / 453.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.3383, allocations: 222.1 kB / 453.9 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.3386, allocations: 118.6 kB / 454.1 MB, free: 272 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3387, allocations: 334 kB / 454.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.3393, allocations: 221.9 kB / 454.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.3399, allocations: 331.1 kB / 454.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.341, allocations: 0.5482 MB / 455.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.341, allocations: 0 / 455.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001513/0.3426, allocations: 0.7154 MB / 456.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3426, allocations: 8 kB / 456.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3426, allocations: 0 / 456.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.3426, allocations: 8 kB / 456.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.3434, allocations: 167.8 kB / 456.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.3434, allocations: 4 kB / 456.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.3439, allocations: 40.03 kB / 456.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.344, allocations: 23.98 kB / 456.4 MB, free: 13.81 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.0004333/0.3444, allocations: 277.5 kB / 456.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.3446, allocations: 87.38 kB / 456.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.3459, allocations: 0.6072 MB / 457.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.346, allocations: 7.984 kB / 457.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.346, allocations: 0 / 457.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.346, allocations: 7.922 kB / 457.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.3491, allocations: 1.764 MB / 459.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3491, allocations: 4 kB / 459.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/0.3496, allocations: 127.8 kB / 459.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.3497, allocations: 4 kB / 459.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.3497, allocations: 12 kB / 459.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.3497, allocations: 15.92 kB / 459.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3497, allocations: 0 / 459.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.351, allocations: 0.7341 MB / 460.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.3512, allocations: 131.4 kB / 460.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.026e-05/0.3513, allocations: 12 kB / 460.2 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.3517, allocations: 35.97 kB / 460.3 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3518, allocations: 48.3 kB / 460.3 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.3519, allocations: 20 kB / 460.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009005/0.3528, allocations: 0.6982 MB / 461 MB, free: 9.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3528, allocations: 0 / 461 MB, free: 9.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006027/0.3534, allocations: 152 kB / 461.2 MB, free: 8.902 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.002907/0.3563, allocations: 1.53 MB / 462.7 MB, free: 7.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.3576, allocations: 0.5231 MB / 463.2 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3576, allocations: 7.938 kB / 463.2 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.3581, allocations: 259.3 kB / 463.5 MB, free: 6.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008703/0.359, allocations: 153.1 kB / 463.6 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.3692, allocations: 6.529 MB / 470.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.3699, allocations: 0.9748 MB / 471.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000475/0.3703, allocations: 109.2 kB / 471.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/0.3708, allocations: 295.3 kB / 471.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3708, allocations: 0 / 471.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04573/0.4166, allocations: 16.68 MB / 488.2 MB, free: 13.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.34, allocations: 8.062 kB / 488.2 MB, free: 13.76 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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: 22.06074265600182]