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.001524/0.001524, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001635/0.001635, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.475/1.475, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.001841/0.001841, allocations: 67.88 kB / 373.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1165, allocations: 53.33 MB / 426.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.2494/0.3658, allocations: 6.566 MB / 433.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004124/0.37, allocations: 2.385 MB / 435.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.371, allocations: 22.44 kB / 435.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.372, allocations: 361.4 kB / 436 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.3737, allocations: 0.5437 MB / 436.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3748, allocations: 449.3 kB / 437 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.377, allocations: 1.566 MB / 438.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006565/0.3777, allocations: 357.4 kB / 438.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.379, allocations: 0.5977 MB / 439.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.3801, allocations: 0.6846 MB / 440.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002301/0.3803, allocations: 161 kB / 440.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.3807, allocations: 201.7 kB / 440.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.381, allocations: 332.2 kB / 440.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000529/0.3815, allocations: 0.6765 MB / 441.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.3838, allocations: 1.98 MB / 443.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3838, allocations: 4.891 kB / 443.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3838, allocations: 3.938 kB / 443.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.552e-05/0.3838, allocations: 0 / 443.5 MB, free: 3.957 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.003171/0.387, allocations: 1.578 MB / 445.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.387, allocations: 10.34 kB / 445.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/0.3872, allocations: 151.3 kB / 445.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006136/0.3878, allocations: 162.3 kB / 445.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.3892, allocations: 0.7477 MB / 446.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/0.3893, allocations: 75.56 kB / 446.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.3894, allocations: 95.64 kB / 446.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.3913, allocations: 0.981 MB / 447.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/0.3914, allocations: 5.812 kB / 447.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/0.3914, allocations: 36 kB / 447.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.3915, allocations: 23.22 kB / 447.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.3931, allocations: 0.8217 MB / 448.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006044/0.3992, allocations: 3.663 MB / 451.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.4012, allocations: 0.5938 MB / 452.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.4018, allocations: 291 kB / 452.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.4019, allocations: 11.47 kB / 452.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.4019, allocations: 43.92 kB / 452.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 3.356e-06/0.4019, allocations: 0 / 452.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004696/0.4066, allocations: 1.68 MB / 454.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.4067, allocations: 87.36 kB / 454.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.4084, allocations: 1.039 MB / 455.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/0.4085, allocations: 36.45 kB / 455.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.4089, allocations: 0.5655 MB / 456.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.4092, allocations: 237.6 kB / 456.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.4095, allocations: 171.4 kB / 456.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4096, allocations: 341 kB / 456.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007491/0.4104, allocations: 308.4 kB / 457.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000958/0.4113, allocations: 491 kB / 457.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.413, allocations: 0.7843 MB / 458.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.413, allocations: 2.156 kB / 458.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00256/0.4156, allocations: 0.97 MB / 459.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.4156, allocations: 10.62 kB / 459.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.4156, allocations: 5.656 kB / 459.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/0.4157, allocations: 9.75 kB / 459.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.4168, allocations: 280 kB / 459.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.4169, allocations: 10.25 kB / 459.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009911/0.4178, allocations: 52.48 kB / 459.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.4179, allocations: 38.11 kB / 459.9 MB, free: 10.44 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.0005835/0.4185, allocations: 306.2 kB / 460.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.4187, allocations: 108.1 kB / 460.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008677/0.4196, allocations: 345.5 kB / 460.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.4196, allocations: 5.562 kB / 460.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/0.4196, allocations: 9.078 kB / 460.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4196, allocations: 4.969 kB / 460.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004644/0.4243, allocations: 2.299 MB / 462.9 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.4243, allocations: 6.094 kB / 462.9 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008591/0.4251, allocations: 211.3 kB / 463.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.4251, allocations: 9.031 kB / 463.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.4252, allocations: 20.03 kB / 463.2 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-05/0.4252, allocations: 13.95 kB / 463.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.4252, allocations: 11.31 kB / 463.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.4272, allocations: 1.028 MB / 464.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.4276, allocations: 198.7 kB / 464.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.4278, allocations: 23.42 kB / 464.4 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.4284, allocations: 49.48 kB / 464.5 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.4286, allocations: 62.31 kB / 464.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.4286, allocations: 29.75 kB / 464.6 MB, free: 7.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001119/0.4297, allocations: 0.7283 MB / 465.3 MB, free: 6.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4297, allocations: 0 / 465.3 MB, free: 6.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000976/0.4307, allocations: 212 kB / 465.5 MB, free: 6.617 MB / 366.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.003298/0.434, allocations: 1.858 MB / 467.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.4359, allocations: 0.6952 MB / 468.1 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.4359, allocations: 1.469 kB / 468.1 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008066/0.4367, allocations: 343.8 kB / 468.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.4381, allocations: 233.8 kB / 468.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.453, allocations: 8.457 MB / 477.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009178/0.4539, allocations: 1.037 MB / 478.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008138/0.4547, allocations: 128.8 kB / 478.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/0.4553, allocations: 403.3 kB / 478.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4553, allocations: 0 / 478.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05464/0.51, allocations: 20.9 MB / 499.5 MB, free: 7.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.63, allocations: 18.97 kB / 499.5 MB, free: 7.41 MB / 398.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.868961746338755]