Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.0008218/0.0008218, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.0008497/0.0008497, allocations: 166 kB / 23.95 MB, free: 0.5977 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.8726/0.8726, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.911e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004705/0.004734, allocations: 4.258 MB / 328.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00343/0.008163, allocations: 1.905 MB / 330.7 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005919/0.008755, allocations: 15.88 kB / 330.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006833/0.009439, allocations: 426.1 kB / 331.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009037/0.01034, allocations: 481.2 kB / 331.6 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.01099, allocations: 331.3 kB / 332 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009989/0.01199, allocations: 1.067 MB / 333 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.01229, allocations: 187.1 kB / 333.2 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005826/0.01287, allocations: 0.6042 MB / 333.8 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.01326, allocations: 439 kB / 334.2 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.562e-05/0.01335, allocations: 103.9 kB / 334.3 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.01353, allocations: 139.9 kB / 334.5 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.01368, allocations: 239.2 kB / 334.7 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.01389, allocations: 303.2 kB / 335 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000975/0.01487, allocations: 1.316 MB / 336.3 MB, free: 4.133 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.01487, allocations: 3.984 kB / 336.3 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01487, allocations: 0 / 336.3 MB, free: 4.129 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.01489, allocations: 0 / 336.3 MB, free: 4.129 MB / 298.7 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.001614/0.0165, allocations: 1.158 MB / 337.5 MB, free: 2.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.01655, allocations: 12.02 kB / 337.5 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.648e-05/0.01664, allocations: 98.7 kB / 337.6 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.01693, allocations: 132.2 kB / 337.7 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006813/0.01762, allocations: 0.5187 MB / 338.2 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.01765, allocations: 45.69 kB / 338.3 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.01772, allocations: 63.92 kB / 338.3 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007863/0.01851, allocations: 0.6536 MB / 339 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.01853, allocations: 4 kB / 339 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.01857, allocations: 24 kB / 339 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01858, allocations: 16 kB / 339 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.01927, allocations: 0.5243 MB / 339.6 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.02171, allocations: 2.106 MB / 341.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/0.02232, allocations: 445.1 kB / 342.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.02273, allocations: 266.2 kB / 342.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.02277, allocations: 4.5 kB / 342.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.0228, allocations: 39.06 kB / 342.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.044e-06/0.0228, allocations: 0 / 342.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.002522/0.02532, allocations: 1.463 MB / 343.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.02536, allocations: 60 kB / 343.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.02634, allocations: 0.977 MB / 344.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.02637, allocations: 37.7 kB / 344.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.02659, allocations: 408.8 kB / 345.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.02669, allocations: 226.1 kB / 345.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.02682, allocations: 122.6 kB / 345.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.02691, allocations: 334 kB / 346 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.02722, allocations: 221.9 kB / 346.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.02756, allocations: 327.1 kB / 346.5 MB, free: 9.621 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.02818, allocations: 0.5444 MB / 347.1 MB, free: 9.047 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.02818, allocations: 4 kB / 347.1 MB, free: 9.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008159/0.029, allocations: 0.7115 MB / 347.8 MB, free: 8.324 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.02902, allocations: 12 kB / 347.8 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.02902, allocations: 0 / 347.8 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.02904, allocations: 11.94 kB / 347.8 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.02942, allocations: 167.8 kB / 348 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.02943, allocations: 11.98 kB / 348 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.02967, allocations: 27.98 kB / 348 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.0297, allocations: 27.98 kB / 348.1 MB, free: 8.07 MB / 314.7 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.0002383/0.02994, allocations: 285.5 kB / 348.3 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.03001, allocations: 87.38 kB / 348.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007582/0.03077, allocations: 0.6033 MB / 349 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.03078, allocations: 4 kB / 349 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.03078, allocations: 0 / 349 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.03079, allocations: 7.984 kB / 349 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.03238, allocations: 1.537 MB / 350.6 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.03238, allocations: 7.938 kB / 350.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.03265, allocations: 131.8 kB / 350.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.03266, allocations: 4 kB / 350.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.03268, allocations: 19.98 kB / 350.7 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.03268, allocations: 4.312 kB / 350.7 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.03269, allocations: 15.88 kB / 350.8 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/0.03348, allocations: 0.7185 MB / 351.5 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.03364, allocations: 135.3 kB / 351.6 MB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.03369, allocations: 19.98 kB / 351.6 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.03389, allocations: 27.98 kB / 351.7 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.03396, allocations: 48.42 kB / 351.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.03398, allocations: 23.92 kB / 351.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004954/0.03447, allocations: 0.6982 MB / 352.4 MB, free: 3.547 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03447, allocations: 0 / 352.4 MB, free: 3.547 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.03482, allocations: 156 kB / 352.6 MB, free: 3.395 MB / 314.7 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.001417/0.03624, allocations: 1.562 MB / 354.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006806/0.03692, allocations: 0.5235 MB / 354.7 MB, free: 1.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03692, allocations: 0 / 354.7 MB, free: 1.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.03722, allocations: 263.8 kB / 354.9 MB, free: 1.152 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.03773, allocations: 141.5 kB / 355.1 MB, free: 1.016 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007027/0.04476, allocations: 6.525 MB / 361.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.04503, allocations: 376 kB / 362 MB, free: 9.848 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003184/0.04535, allocations: 101.2 kB / 362 MB, free: 9.746 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.04564, allocations: 304.4 kB / 362.3 MB, free: 9.449 MB / 330.7 MB Notification: Performance of SimCode: time 1.693e-06/0.04564, allocations: 0 / 362.3 MB, free: 9.449 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.07735, allocations: 17.35 MB / 379.7 MB, free: 8.289 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.121, allocations: 4.062 kB / 379.7 MB, free: 8.285 MB / 346.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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: 10.835110804066062]