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.001945/0.001945, allocations: 116.4 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.002396/0.002396, allocations: 215.1 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.49/1.49, 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.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 0.001889/0.001889, allocations: 59.89 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2826, allocations: 53.42 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009043/0.2917, allocations: 6.591 MB / 437.8 MB, free: 60 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005242/0.2969, allocations: 2.415 MB / 440.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009568/0.2979, allocations: 23.88 kB / 440.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.299, allocations: 357.8 kB / 440.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.3007, allocations: 0.5394 MB / 441.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3018, allocations: 454.8 kB / 441.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002336/0.3041, allocations: 1.565 MB / 443.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007507/0.3049, allocations: 361.4 kB / 443.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.3059, allocations: 0.6074 MB / 444.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.3069, allocations: 0.6886 MB / 444.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.3072, allocations: 160 kB / 444.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.3075, allocations: 204 kB / 445.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.3078, allocations: 327 kB / 445.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008356/0.3086, allocations: 0.6804 MB / 446.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.3113, allocations: 1.982 MB / 448.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3113, allocations: 3.938 kB / 448.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.3113, allocations: 0 / 448.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.3113, allocations: 0 / 448.1 MB, free: 5.68 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.003112/0.3144, allocations: 1.501 MB / 449.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3145, allocations: 12.03 kB / 449.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.3147, allocations: 152.3 kB / 449.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005416/0.3152, allocations: 168 kB / 449.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.3165, allocations: 0.6856 MB / 450.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.947e-05/0.3166, allocations: 74 kB / 450.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.3168, allocations: 96 kB / 450.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.3186, allocations: 0.9779 MB / 451.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.3187, allocations: 0 / 451.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.3188, allocations: 44 kB / 451.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.3189, allocations: 24 kB / 451.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.3208, allocations: 0.8132 MB / 452.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006048/0.3268, allocations: 3.569 MB / 456.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.3288, allocations: 0.5868 MB / 456.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.3294, allocations: 292.6 kB / 457.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.108e-05/0.3295, allocations: 19.97 kB / 457.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3295, allocations: 43.47 kB / 457.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.425e-06/0.3295, allocations: 0 / 457.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004429/0.334, allocations: 1.688 MB / 458.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.24e-05/0.3341, allocations: 85.11 kB / 458.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.3356, allocations: 1.038 MB / 460 MB, free: 9.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.455e-05/0.3356, allocations: 37.7 kB / 460 MB, free: 9.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005136/0.3361, allocations: 0.5662 MB / 460.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.3364, allocations: 241.9 kB / 460.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.3367, allocations: 166.5 kB / 461 MB, free: 8.477 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3369, allocations: 338 kB / 461.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/0.3377, allocations: 301.8 kB / 461.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000935/0.3386, allocations: 0.4913 MB / 462.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.3403, allocations: 0.7863 MB / 462.9 MB, free: 6.418 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3403, allocations: 0 / 462.9 MB, free: 6.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002343/0.3427, allocations: 0.9633 MB / 463.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.3427, allocations: 18.31 kB / 463.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.3427, allocations: 8 kB / 463.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.3427, allocations: 8 kB / 463.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3439, allocations: 283.5 kB / 464.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.344, allocations: 8 kB / 464.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008297/0.3448, allocations: 51.95 kB / 464.2 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.3449, allocations: 39.98 kB / 464.2 MB, free: 5.043 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.0004727/0.3453, allocations: 297.5 kB / 464.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.3455, allocations: 111.3 kB / 464.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008552/0.3464, allocations: 350.7 kB / 465 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.3464, allocations: 8 kB / 465 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3464, allocations: 0 / 465 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.3464, allocations: 3.984 kB / 465 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/0.3506, allocations: 2.258 MB / 467.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.3506, allocations: 12.03 kB / 467.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/0.3515, allocations: 207.6 kB / 467.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.3515, allocations: 8 kB / 467.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.3516, allocations: 20 kB / 467.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.741e-05/0.3516, allocations: 15.94 kB / 467.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/0.3516, allocations: 15.92 kB / 467.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.3537, allocations: 1.033 MB / 468.5 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.354, allocations: 123.3 kB / 468.7 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.3542, allocations: 19.98 kB / 468.7 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/0.3548, allocations: 47.95 kB / 468.7 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.355, allocations: 63.8 kB / 468.8 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.355, allocations: 31.98 kB / 468.8 MB, free: 192 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.3562, allocations: 0.7189 MB / 469.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3562, allocations: 0 / 469.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009741/0.3572, allocations: 212 kB / 469.8 MB, free: 15.25 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.003648/0.3608, allocations: 1.845 MB / 471.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.3627, allocations: 0.7063 MB / 472.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.3627, allocations: 0 / 472.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007977/0.3635, allocations: 345.8 kB / 472.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.3649, allocations: 231.8 kB / 472.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.3791, allocations: 8.465 MB / 481.3 MB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007549/0.3798, allocations: 1.03 MB / 482.4 MB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005909/0.3804, allocations: 131.5 kB / 482.5 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/0.381, allocations: 407.3 kB / 482.9 MB, free: 1.672 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.381, allocations: 0 / 482.9 MB, free: 1.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06278/0.4438, allocations: 21.57 MB / 0.4926 GB, free: 12.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.75, allocations: 7.922 kB / 0.4926 GB, free: 12.23 MB / 414.1 MB " [Timeout remaining time 646] (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/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_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: 17.441984466997383]