Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001499/0.001499, allocations: 119.6 kB / 20.44 MB, free: 1.297 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.001506/0.001506, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 56.06 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2919, allocations: 53.37 MB / 431.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.01067/0.3026, allocations: 6.595 MB / 437.7 MB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005218/0.3078, allocations: 2.408 MB / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.3089, allocations: 27.88 kB / 440.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.3099, allocations: 369.7 kB / 440.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.3116, allocations: 0.5355 MB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009985/0.3126, allocations: 455.3 kB / 441.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.3144, allocations: 1.561 MB / 443.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005848/0.315, allocations: 361.4 kB / 443.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008699/0.3159, allocations: 0.6151 MB / 444 MB, free: 10 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008827/0.3168, allocations: 0.6809 MB / 444.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.317, allocations: 164 kB / 444.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.3173, allocations: 196 kB / 445.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.3176, allocations: 334.9 kB / 445.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.3183, allocations: 0.6804 MB / 446.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.3208, allocations: 1.982 MB / 448.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3208, allocations: 0 / 448.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3208, allocations: 0 / 448.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.946e-05/0.3208, allocations: 0 / 448.1 MB, free: 5.965 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003302/0.3241, allocations: 1.501 MB / 449.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.3242, allocations: 12.02 kB / 449.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002189/0.3244, allocations: 144.3 kB / 449.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000613/0.325, allocations: 164.1 kB / 449.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.3265, allocations: 0.685 MB / 450.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.059e-05/0.3266, allocations: 74 kB / 450.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.3268, allocations: 96 kB / 450.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.3287, allocations: 0.9857 MB / 451.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.3287, allocations: 0 / 451.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.3288, allocations: 44 kB / 451.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.3288, allocations: 20 kB / 451.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.3306, allocations: 0.8211 MB / 452.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006269/0.3368, allocations: 3.561 MB / 456.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.3388, allocations: 0.5898 MB / 456.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/0.3395, allocations: 296.2 kB / 457 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.409e-05/0.3395, allocations: 16.36 kB / 457.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.3396, allocations: 39.09 kB / 457.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 3.025e-06/0.3396, allocations: 0 / 457.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004459/0.344, allocations: 1.684 MB / 458.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.3441, allocations: 89.05 kB / 458.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.3456, allocations: 1.046 MB / 459.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.3457, allocations: 33.7 kB / 459.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/0.3461, allocations: 0.5623 MB / 460.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.3463, allocations: 249.8 kB / 460.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.3466, allocations: 166.5 kB / 460.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3468, allocations: 337.9 kB / 461.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007892/0.3476, allocations: 309.8 kB / 461.5 MB, free: 8.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008979/0.3485, allocations: 0.4913 MB / 462 MB, free: 7.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.35, allocations: 0.7786 MB / 462.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.35, allocations: 0 / 462.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002154/0.3522, allocations: 0.9709 MB / 463.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.3522, allocations: 11.94 kB / 463.8 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3522, allocations: 4 kB / 463.8 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.3523, allocations: 8 kB / 463.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.3534, allocations: 275.9 kB / 464.1 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/0.3535, allocations: 15.94 kB / 464.1 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.3543, allocations: 55.89 kB / 464.1 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.3543, allocations: 35.98 kB / 464.2 MB, free: 5.332 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0005701/0.3549, allocations: 291.3 kB / 464.5 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.3551, allocations: 111.3 kB / 464.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008566/0.356, allocations: 358.4 kB / 464.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.356, allocations: 4 kB / 464.9 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.356, allocations: 4 kB / 464.9 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.356, allocations: 11.92 kB / 464.9 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.36, allocations: 2.254 MB / 467.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.36, allocations: 4 kB / 467.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008385/0.3609, allocations: 212.2 kB / 467.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/0.3609, allocations: 8 kB / 467.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.3609, allocations: 20 kB / 467.4 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-05/0.361, allocations: 19.92 kB / 467.5 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.361, allocations: 8 kB / 467.5 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.3627, allocations: 1.033 MB / 468.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.3631, allocations: 123.3 kB / 468.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.3632, allocations: 23.98 kB / 468.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.3638, allocations: 47.95 kB / 468.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.3639, allocations: 75.67 kB / 468.8 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.364, allocations: 27.98 kB / 468.8 MB, free: 484 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001077/0.3651, allocations: 0.7112 MB / 469.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3651, allocations: 0 / 469.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008575/0.3659, allocations: 216 kB / 469.7 MB, free: 15.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.003395/0.3693, allocations: 1.854 MB / 471.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.3712, allocations: 0.699 MB / 472.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.3712, allocations: 0 / 472.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008309/0.3721, allocations: 349.3 kB / 472.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.3737, allocations: 228.6 kB / 472.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.3888, allocations: 8.467 MB / 481.3 MB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000755/0.3895, allocations: 1.03 MB / 482.3 MB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006205/0.3901, allocations: 127.5 kB / 482.5 MB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/0.3907, allocations: 407.3 kB / 482.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3907, allocations: 0 / 482.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06219/0.4529, allocations: 21.58 MB / 0.4926 GB, free: 12.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.43, allocations: 3.938 kB / 0.4926 GB, free: 12.57 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cActuator.flange.f in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable cActuator.flange.f from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.flange.f in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.flange.f from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.Phi in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.Phi from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.L_stat in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.L_stat from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.023004421000223]