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.001857/0.001857, 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.002159/0.002159, allocations: 214.4 kB / 23.74 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.473/1.473, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.001899/0.001899, allocations: 55.91 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2834, allocations: 53.41 MB / 431.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007255/0.2907, allocations: 4.734 MB / 435.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004125/0.2948, allocations: 2.006 MB / 437.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009447/0.2958, allocations: 15.94 kB / 437.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.2969, allocations: 426.2 kB / 438.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.2986, allocations: 481.4 kB / 438.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.2996, allocations: 319.1 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.3013, allocations: 1.036 MB / 440.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.3017, allocations: 211 kB / 440.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007004/0.3024, allocations: 446.5 kB / 440.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008321/0.3032, allocations: 0.5371 MB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.3034, allocations: 96 kB / 441.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.3037, allocations: 132 kB / 441.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.304, allocations: 239.2 kB / 441.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.3045, allocations: 469.5 kB / 442.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.3062, allocations: 1.296 MB / 443.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3062, allocations: 0 / 443.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3062, allocations: 0 / 443.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.3062, allocations: 0 / 443.6 MB, free: 10.29 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.002415/0.3086, allocations: 1.17 MB / 444.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3087, allocations: 12.03 kB / 444.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.3088, allocations: 98.7 kB / 444.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005217/0.3093, allocations: 132.2 kB / 445 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.3104, allocations: 0.5116 MB / 445.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.3104, allocations: 49.44 kB / 445.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.3105, allocations: 60 kB / 445.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.3118, allocations: 0.6324 MB / 446.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.3118, allocations: 4 kB / 446.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/0.3118, allocations: 24 kB / 446.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.3119, allocations: 19.98 kB / 446.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.313, allocations: 0.5243 MB / 446.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00441/0.3174, allocations: 2.46 MB / 449.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009399/0.3184, allocations: 445.1 kB / 449.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/0.319, allocations: 269.4 kB / 449.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.944e-05/0.3191, allocations: 8.422 kB / 450 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.3191, allocations: 39 kB / 450 MB, free: 3.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.625e-06/0.3191, allocations: 4 kB / 450 MB, free: 3.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004387/0.3235, allocations: 1.456 MB / 451.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.3236, allocations: 60.06 kB / 451.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.3249, allocations: 0.9732 MB / 452.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/0.325, allocations: 33.7 kB / 452.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.3253, allocations: 420.7 kB / 452.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.3255, allocations: 222.1 kB / 453.1 MB, free: 440 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.3257, allocations: 122.6 kB / 453.3 MB, free: 312 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3259, allocations: 330 kB / 453.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.3265, allocations: 229.9 kB / 453.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.3271, allocations: 331 kB / 454.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.3282, allocations: 0.5405 MB / 454.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3282, allocations: 3.984 kB / 454.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001568/0.3298, allocations: 0.7152 MB / 455.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3298, allocations: 4 kB / 455.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3298, allocations: 4 kB / 455.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.3299, allocations: 7.984 kB / 455.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.3307, allocations: 172.1 kB / 455.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.3307, allocations: 11.98 kB / 455.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.3312, allocations: 23.98 kB / 455.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.3313, allocations: 31.98 kB / 455.6 MB, free: 13.85 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.0004153/0.3317, allocations: 265.6 kB / 455.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3318, allocations: 95.38 kB / 456 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.3332, allocations: 0.6033 MB / 456.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3332, allocations: 4 kB / 456.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3332, allocations: 7.984 kB / 456.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.3332, allocations: 3.984 kB / 456.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/0.3363, allocations: 1.764 MB / 458.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.3364, allocations: 0 / 458.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.3369, allocations: 128.1 kB / 458.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.337, allocations: 8 kB / 458.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.337, allocations: 16 kB / 458.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.334e-05/0.337, allocations: 11.92 kB / 458.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.337, allocations: 4 kB / 458.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.3383, allocations: 0.7299 MB / 459.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.3387, allocations: 131.4 kB / 459.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.782e-05/0.3388, allocations: 16 kB / 459.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.3392, allocations: 27.97 kB / 459.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.3393, allocations: 44.3 kB / 459.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.3393, allocations: 27.98 kB / 459.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009574/0.3403, allocations: 0.7021 MB / 460.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3403, allocations: 0 / 460.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006464/0.3409, allocations: 152 kB / 460.4 MB, free: 8.941 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.003084/0.344, allocations: 1.533 MB / 461.9 MB, free: 7.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.3454, allocations: 0.523 MB / 462.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.3455, allocations: 4.5 kB / 462.4 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005864/0.346, allocations: 262.2 kB / 462.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009034/0.3469, allocations: 149.8 kB / 462.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.3573, allocations: 6.525 MB / 469.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/0.3581, allocations: 0.9709 MB / 470.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.3586, allocations: 101.2 kB / 470.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.359, allocations: 303.3 kB / 470.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.359, allocations: 0 / 470.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05263/0.4116, allocations: 16.65 MB / 487.4 MB, free: 13.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.22, allocations: 7.938 kB / 487.4 MB, free: 13.82 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv --start-time -4 --stop-time 4 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable feedX.flange.f in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.18866530500236]