Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001602/0.001602, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.00184/0.00184, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.481/1.481, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 59.91 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1136, allocations: 53.33 MB / 426.7 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006904/0.1205, allocations: 4.687 MB / 431.4 MB, free: 292 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2213/0.3418, allocations: 1.988 MB / 433.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.3421, allocations: 12.22 kB / 433.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006832/0.3428, allocations: 430.4 kB / 433.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007105/0.3435, allocations: 468.9 kB / 434.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.3441, allocations: 321 kB / 434.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000867/0.3449, allocations: 1.033 MB / 435.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.3453, allocations: 212.7 kB / 435.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004711/0.3457, allocations: 428.8 kB / 436.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.3463, allocations: 0.5356 MB / 436.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.3464, allocations: 97.12 kB / 436.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.3466, allocations: 129.4 kB / 437 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.3468, allocations: 239 kB / 437.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.3471, allocations: 472.1 kB / 437.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.3485, allocations: 1.296 MB / 438.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3485, allocations: 1.75 kB / 439 MB, free: 6.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3485, allocations: 4 kB / 439 MB, free: 6.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.3485, allocations: 0 / 439 MB, free: 6.016 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002016/0.3505, allocations: 1.239 MB / 440.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3505, allocations: 10.72 kB / 440.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.3506, allocations: 101.5 kB / 440.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/0.3511, allocations: 133.5 kB / 440.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008074/0.3519, allocations: 0.5783 MB / 441 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.3519, allocations: 50.09 kB / 441.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.065e-05/0.352, allocations: 56.53 kB / 441.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.3531, allocations: 0.6366 MB / 441.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.3531, allocations: 0 / 441.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.3532, allocations: 26.31 kB / 441.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.3532, allocations: 14.62 kB / 441.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.3542, allocations: 0.5254 MB / 442.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/0.3576, allocations: 2.547 MB / 444.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.3584, allocations: 453 kB / 445.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.359, allocations: 270.1 kB / 445.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.359, allocations: 9.547 kB / 445.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.3591, allocations: 41.31 kB / 445.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.3591, allocations: 0.5156 kB / 445.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004047/0.3631, allocations: 1.46 MB / 447.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3632, allocations: 57.34 kB / 447.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.3645, allocations: 0.9701 MB / 448.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.3645, allocations: 35.92 kB / 448.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.3648, allocations: 417.8 kB / 448.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.365, allocations: 222.9 kB / 448.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.3652, allocations: 123.2 kB / 448.9 MB, free: 436 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.3653, allocations: 337.6 kB / 449.2 MB, free: 108 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.3658, allocations: 219.9 kB / 449.4 MB, free: 32 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007774/0.3665, allocations: 345.2 kB / 449.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.3677, allocations: 0.5408 MB / 450.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3677, allocations: 1.031 kB / 450.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001552/0.3693, allocations: 0.7175 MB / 451 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3693, allocations: 5.781 kB / 451 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.3693, allocations: 6.75 kB / 451 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.3693, allocations: 6.484 kB / 451 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.37, allocations: 167.6 kB / 451.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.3701, allocations: 6.172 kB / 451.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.3705, allocations: 33.92 kB / 451.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.3706, allocations: 22.94 kB / 451.3 MB, free: 15.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * 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.0004109/0.371, allocations: 284.9 kB / 451.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.3711, allocations: 90.88 kB / 451.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.3725, allocations: 0.6039 MB / 452.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.3725, allocations: 6.875 kB / 452.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3725, allocations: 0 / 452.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3725, allocations: 8.703 kB / 452.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.3755, allocations: 1.782 MB / 454 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3756, allocations: 2.75 kB / 454 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.3761, allocations: 132.9 kB / 454.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/0.3761, allocations: 4.438 kB / 454.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.3761, allocations: 15.53 kB / 454.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.3761, allocations: 9.812 kB / 454.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3761, allocations: 3.531 kB / 454.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.3774, allocations: 0.7373 MB / 454.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.3777, allocations: 211.4 kB / 455.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.155e-05/0.3778, allocations: 13.66 kB / 455.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.3782, allocations: 28.91 kB / 455.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.3783, allocations: 51.08 kB / 455.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.3783, allocations: 21.64 kB / 455.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009595/0.3793, allocations: 0.6968 MB / 456 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3793, allocations: 0 / 456 MB, free: 12.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006837/0.38, allocations: 152.9 kB / 456.1 MB, free: 12.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.002695/0.3827, allocations: 1.544 MB / 457.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.3839, allocations: 0.5205 MB / 458.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3839, allocations: 1.5 kB / 458.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.3844, allocations: 262.6 kB / 458.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008171/0.3852, allocations: 148.6 kB / 458.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.3957, allocations: 6.53 MB / 465.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/0.3964, allocations: 0.9711 MB / 466.1 MB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004527/0.3969, allocations: 90.83 kB / 466.2 MB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/0.3973, allocations: 305.2 kB / 466.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3973, allocations: 5.031 kB / 466.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04409/0.4414, allocations: 16.1 MB / 482.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.675/10.12, allocations: 15.09 kB / 482.6 MB, free: 8.031 MB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 16.457344563212246]