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.001975/0.001975, allocations: 114 kB / 20.43 MB, free: 1.457 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.002519/0.002519, allocations: 215.6 kB / 23.75 MB, free: 4.672 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.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.988 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.91 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2802, allocations: 53.4 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006425/0.2867, allocations: 4.719 MB / 435.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003505/0.2902, allocations: 2.014 MB / 437.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.2905, allocations: 19.94 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007527/0.2913, allocations: 422.2 kB / 438.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008762/0.2921, allocations: 473.5 kB / 438.8 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.2928, allocations: 327 kB / 439.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.294, allocations: 1.036 MB / 440.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.2944, allocations: 211 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005837/0.2949, allocations: 446.6 kB / 440.8 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.2956, allocations: 0.5293 MB / 441.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.2958, allocations: 103.9 kB / 441.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.296, allocations: 128 kB / 441.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.2962, allocations: 239.2 kB / 441.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.2967, allocations: 469.5 kB / 442.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.2981, allocations: 1.3 MB / 443.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2981, allocations: 0 / 443.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2981, allocations: 4 kB / 443.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.2981, allocations: 0 / 443.6 MB, free: 10.24 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.002184/0.3003, allocations: 1.166 MB / 444.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3003, allocations: 8.031 kB / 444.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.3005, allocations: 102.7 kB / 444.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/0.3009, allocations: 136.3 kB / 445 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3019, allocations: 0.5116 MB / 445.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.302, allocations: 49.44 kB / 445.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.3021, allocations: 60 kB / 445.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.3033, allocations: 0.6324 MB / 446.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.3033, allocations: 0 / 446.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/0.3033, allocations: 28 kB / 446.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.3034, allocations: 12 kB / 446.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.3045, allocations: 0.5243 MB / 446.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00393/0.3084, allocations: 2.476 MB / 449.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/0.3093, allocations: 437.2 kB / 449.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/0.3099, allocations: 269.6 kB / 449.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.31, allocations: 8.422 kB / 450 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.31, allocations: 42.98 kB / 450 MB, free: 3.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.31, allocations: 4 kB / 450 MB, free: 3.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004193/0.3142, allocations: 1.456 MB / 451.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.3143, allocations: 64.06 kB / 451.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.3155, allocations: 0.9615 MB / 452.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.3156, allocations: 37.7 kB / 452.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.3159, allocations: 420.7 kB / 452.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.3161, allocations: 226.1 kB / 453.1 MB, free: 388 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.3163, allocations: 114.6 kB / 453.3 MB, free: 268 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3165, allocations: 334 kB / 453.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.317, allocations: 229.9 kB / 453.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006098/0.3176, allocations: 327.1 kB / 454.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.3187, allocations: 0.5482 MB / 454.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3187, allocations: 0 / 454.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001443/0.3202, allocations: 0.7113 MB / 455.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3202, allocations: 10.19 kB / 455.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3202, allocations: 3.938 kB / 455.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.3202, allocations: 8 kB / 455.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.321, allocations: 172 kB / 455.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.321, allocations: 7.938 kB / 455.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.3215, allocations: 35.97 kB / 455.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.3215, allocations: 20 kB / 455.6 MB, free: 13.8 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.0003643/0.3219, allocations: 269.7 kB / 455.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.322, allocations: 87.38 kB / 456 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.3233, allocations: 0.6188 MB / 456.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.3233, allocations: 4 kB / 456.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3233, allocations: 0 / 456.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.3233, allocations: 7.969 kB / 456.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.3263, allocations: 1.752 MB / 458.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.3263, allocations: 7.938 kB / 458.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.3269, allocations: 124.2 kB / 458.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.3269, allocations: 8 kB / 458.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.3269, allocations: 19.98 kB / 458.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.3269, allocations: 11.94 kB / 458.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3269, allocations: 0 / 458.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.3282, allocations: 0.7338 MB / 459.3 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.3284, allocations: 131.4 kB / 459.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.3285, allocations: 15.98 kB / 459.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.3289, allocations: 27.98 kB / 459.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.329, allocations: 48.3 kB / 459.5 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/0.3291, allocations: 27.98 kB / 459.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009227/0.33, allocations: 0.6981 MB / 460.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.33, allocations: 0 / 460.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005533/0.3305, allocations: 156 kB / 460.4 MB, free: 8.891 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.002795/0.3333, allocations: 1.537 MB / 461.9 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.3345, allocations: 0.519 MB / 462.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3345, allocations: 4.562 kB / 462.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005325/0.3351, allocations: 258.3 kB / 462.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.3359, allocations: 142.8 kB / 462.8 MB, free: 6.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.346, allocations: 6.521 MB / 469.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/0.3467, allocations: 0.9748 MB / 470.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003886/0.3471, allocations: 101.2 kB / 470.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.3476, allocations: 307.3 kB / 470.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3476, allocations: 0 / 470.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05003/0.3976, allocations: 16.65 MB / 487.4 MB, free: 13.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13, allocations: 12 kB / 487.4 MB, free: 13.78 MB / 398.1 MB " [Timeout remaining time 647] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 18.954921593889594]