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.0008477/0.0008477, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008339/0.0008339, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8788/0.8788, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.262e-06/1.262e-06, allocations: 0 / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.459e-05, allocations: 2.281 kB / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005452/0.005466, allocations: 5.834 MB / 330.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.008276, allocations: 2.299 MB / 332.7 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.008594, allocations: 23.88 kB / 332.7 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005864/0.009181, allocations: 357.6 kB / 333.1 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000742/0.009923, allocations: 0.5625 MB / 333.6 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.01046, allocations: 454.3 kB / 334.1 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.01153, allocations: 1.616 MB / 335.7 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.01192, allocations: 330 kB / 336 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000752/0.01267, allocations: 0.8967 MB / 336.9 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005003/0.01317, allocations: 0.5298 MB / 337.4 MB, free: 2.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.0133, allocations: 163.9 kB / 337.6 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.0135, allocations: 195.9 kB / 337.8 MB, free: 2.512 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.01369, allocations: 330.9 kB / 338.1 MB, free: 2.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.014, allocations: 478.8 kB / 338.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.01559, allocations: 2.029 MB / 340.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01559, allocations: 0 / 340.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.01559, allocations: 4 kB / 340.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.0156, allocations: 0 / 340.6 MB, free: 15.68 MB / 314.7 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.0017/0.0173, allocations: 1.485 MB / 342.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.01734, allocations: 12.03 kB / 342.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.01746, allocations: 148.3 kB / 342.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.01775, allocations: 160.1 kB / 342.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007599/0.01851, allocations: 0.689 MB / 343.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.01855, allocations: 74 kB / 343.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.244e-05/0.01864, allocations: 96 kB / 343.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.01973, allocations: 1.028 MB / 344.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.01975, allocations: 7.938 kB / 344.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.01981, allocations: 40 kB / 344.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.01982, allocations: 24 kB / 344.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.02084, allocations: 0.8132 MB / 345.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.02401, allocations: 3.054 MB / 348.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.02509, allocations: 0.5906 MB / 348.8 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.02544, allocations: 299.8 kB / 349.1 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.02547, allocations: 12 kB / 349.1 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.02549, allocations: 42.56 kB / 349.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 1.473e-06/0.02549, allocations: 0 / 349.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002261/0.02775, allocations: 1.683 MB / 350.9 MB, free: 5.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.02778, allocations: 85.11 kB / 350.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008506/0.02863, allocations: 1.053 MB / 352 MB, free: 4.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.02866, allocations: 41.7 kB / 352 MB, free: 3.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.02894, allocations: 0.5622 MB / 352.6 MB, free: 3.387 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.02905, allocations: 238 kB / 352.8 MB, free: 3.152 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.02921, allocations: 162.5 kB / 353 MB, free: 2.988 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.298e-05/0.02929, allocations: 334 kB / 353.3 MB, free: 2.656 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.02972, allocations: 309.8 kB / 353.6 MB, free: 2.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000791/0.03051, allocations: 0.4952 MB / 354.1 MB, free: 1.785 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008952/0.03141, allocations: 0.7755 MB / 354.9 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.03141, allocations: 4 kB / 354.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001149/0.03256, allocations: 0.9708 MB / 355.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.03257, allocations: 8 kB / 355.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.03258, allocations: 4 kB / 355.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.03259, allocations: 12.41 kB / 355.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.03317, allocations: 279.5 kB / 356.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.03318, allocations: 8 kB / 356.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.03351, allocations: 55.95 kB / 356.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.03355, allocations: 39.98 kB / 356.3 MB, free: 15.56 MB / 330.7 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.000252/0.0338, allocations: 289.5 kB / 356.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.0339, allocations: 115.3 kB / 356.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/0.03433, allocations: 343.8 kB / 357 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.03434, allocations: 8 kB / 357 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.03434, allocations: 4 kB / 357 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.03435, allocations: 3.984 kB / 357 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.03669, allocations: 2.098 MB / 359.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.0367, allocations: 11.94 kB / 359.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.03712, allocations: 203.6 kB / 359.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.03713, allocations: 16.22 kB / 359.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.03716, allocations: 23.98 kB / 359.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.03716, allocations: 8 kB / 359.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.03717, allocations: 15.92 kB / 359.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009331/0.0381, allocations: 1.022 MB / 360.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.03822, allocations: 127.2 kB / 360.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.03829, allocations: 23.94 kB / 360.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.0386, allocations: 47.95 kB / 360.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.03868, allocations: 67.78 kB / 360.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.0387, allocations: 35.98 kB / 360.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008362/0.03954, allocations: 0.7112 MB / 361.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03954, allocations: 0 / 361.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004967/0.04004, allocations: 212 kB / 361.6 MB, free: 9.938 MB / 330.7 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.001662/0.0417, allocations: 1.871 MB / 363.5 MB, free: 8.113 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009049/0.0426, allocations: 0.6993 MB / 364.2 MB, free: 7.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.04261, allocations: 448 / 364.2 MB, free: 7.422 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.04304, allocations: 349.1 kB / 364.5 MB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.04376, allocations: 225.6 kB / 364.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008736/0.05249, allocations: 8.466 MB / 373.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.05278, allocations: 452 kB / 373.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003267/0.05311, allocations: 127.5 kB / 373.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/0.05348, allocations: 404.3 kB / 374.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.05348, allocations: 0 / 374.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.08417, allocations: 22.49 MB / 396.7 MB, free: 6.691 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.35, allocations: 3.984 kB / 396.7 MB, free: 6.688 MB / 362.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/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: 9.861546538770199]