Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.0009362/0.0009362, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.001111/0.001111, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9224/0.9224, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.588e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005189/0.005215, allocations: 5.827 MB / 330.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.008641, allocations: 2.294 MB / 332.6 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.009091, allocations: 23.88 kB / 332.7 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006716/0.009763, allocations: 357.6 kB / 333 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009029/0.01067, allocations: 0.5547 MB / 333.6 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.01136, allocations: 466.4 kB / 334 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.0128, allocations: 1.615 MB / 335.6 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.0132, allocations: 330 kB / 336 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007405/0.01394, allocations: 0.9044 MB / 336.9 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.01441, allocations: 0.5259 MB / 337.4 MB, free: 2.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.01453, allocations: 160 kB / 337.5 MB, free: 2.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.01475, allocations: 199.9 kB / 337.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.01495, allocations: 330.9 kB / 338.1 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.01527, allocations: 478.8 kB / 338.5 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.0167, allocations: 2.029 MB / 340.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.01671, allocations: 4 kB / 340.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01671, allocations: 0 / 340.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.01673, allocations: 0 / 340.6 MB, free: 15.75 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.001925/0.01865, allocations: 1.477 MB / 342 MB, free: 14.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.0187, allocations: 15.98 kB / 342.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.01883, allocations: 156.2 kB / 342.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003611/0.01919, allocations: 164.1 kB / 342.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.02067, allocations: 0.6777 MB / 343 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-05/0.02075, allocations: 78.12 kB / 343.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.02086, allocations: 99.98 kB / 343.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.02221, allocations: 1.024 MB / 344.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.02224, allocations: 8 kB / 344.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.206e-05/0.0223, allocations: 39.94 kB / 344.3 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.02232, allocations: 24 kB / 344.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.02341, allocations: 0.8132 MB / 345.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.02693, allocations: 3.066 MB / 348.2 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.0281, allocations: 0.5828 MB / 348.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.02845, allocations: 290.3 kB / 349.1 MB, free: 7.008 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.02849, allocations: 19.92 kB / 349.1 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.02852, allocations: 42.56 kB / 349.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 2.275e-06/0.02852, allocations: 0 / 349.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002726/0.03125, allocations: 1.682 MB / 350.8 MB, free: 5.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.03129, allocations: 85.11 kB / 350.9 MB, free: 5.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008986/0.03219, allocations: 1.053 MB / 351.9 MB, free: 4.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.03222, allocations: 41.7 kB / 352 MB, free: 4.023 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.03248, allocations: 0.5622 MB / 352.5 MB, free: 3.453 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.0326, allocations: 238 kB / 352.8 MB, free: 3.219 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.03277, allocations: 158.6 kB / 352.9 MB, free: 3.059 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.03285, allocations: 341.9 kB / 353.3 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.03328, allocations: 305.8 kB / 353.6 MB, free: 2.418 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.03378, allocations: 0.4951 MB / 354.1 MB, free: 1.848 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000884/0.03467, allocations: 0.7746 MB / 354.8 MB, free: 1.004 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.03467, allocations: 4 kB / 354.8 MB, free: 1 MB / 314.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001162/0.03583, allocations: 0.9669 MB / 355.8 MB, free: 24 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.03585, allocations: 11.98 kB / 355.8 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.03586, allocations: 4 kB / 355.8 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/0.0359, allocations: 12.05 kB / 355.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.03649, allocations: 275.9 kB / 356.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.0365, allocations: 19.91 kB / 356.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.03691, allocations: 47.95 kB / 356.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.03695, allocations: 43.98 kB / 356.2 MB, free: 15.62 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.0003194/0.03727, allocations: 293.5 kB / 356.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.03737, allocations: 107.3 kB / 356.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006578/0.03803, allocations: 350.7 kB / 356.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.03803, allocations: 8 kB / 357 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.03804, allocations: 4 kB / 357 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.03805, allocations: 3.984 kB / 357 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.04032, allocations: 2.106 MB / 359.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.04032, allocations: 8 kB / 359.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.04073, allocations: 199.7 kB / 359.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.04074, allocations: 15.94 kB / 359.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.04077, allocations: 28.16 kB / 359.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.04078, allocations: 15.92 kB / 359.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.04079, allocations: 11.94 kB / 359.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.04174, allocations: 1.018 MB / 360.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.04192, allocations: 119.3 kB / 360.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-05/0.04199, allocations: 27.92 kB / 360.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.04231, allocations: 47.95 kB / 360.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.04239, allocations: 67.78 kB / 360.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.04242, allocations: 28 kB / 360.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006574/0.04308, allocations: 0.719 MB / 361.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.04308, allocations: 0 / 361.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005736/0.04365, allocations: 208 kB / 361.6 MB, free: 9.996 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.00176/0.04541, allocations: 1.862 MB / 363.4 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.04671, allocations: 0.6994 MB / 364.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.04671, allocations: 0 / 364.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.04716, allocations: 349.4 kB / 364.5 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008487/0.04801, allocations: 215.2 kB / 364.7 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00964/0.05765, allocations: 8.473 MB / 373.1 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.058, allocations: 444 kB / 373.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000453/0.05845, allocations: 135.5 kB / 373.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.05884, allocations: 400.4 kB / 374.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.924e-06/0.05884, allocations: 0 / 374.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03725/0.09609, allocations: 22.48 MB / 396.6 MB, free: 6.699 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.397, allocations: 11.78 kB / 396.6 MB, free: 6.688 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable cActuator.flange.f from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.flange.f in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.flange.f from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.Phi in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.L_stat in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.L_stat from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.985421371646225]