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.0009053/0.0009053, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0009128/0.0009128, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8887/0.8887, allocations: 177 MB / 204.1 MB, free: 5.766 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.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 2.214e-06/2.214e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.298e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005368/0.005391, allocations: 4.255 MB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.007858, allocations: 1.901 MB / 330.7 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/0.008164, allocations: 11.94 kB / 330.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.008779, allocations: 430 kB / 331.1 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006855/0.009465, allocations: 477.3 kB / 331.6 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.009937, allocations: 338.1 kB / 331.9 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007612/0.0107, allocations: 1.067 MB / 333 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.01097, allocations: 191.1 kB / 333.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/0.01154, allocations: 0.612 MB / 333.8 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.01194, allocations: 443 kB / 334.2 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.15e-05/0.01203, allocations: 96 kB / 334.3 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.01219, allocations: 135.9 kB / 334.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.01234, allocations: 239.2 kB / 334.7 MB, free: 5.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.01253, allocations: 307.2 kB / 335 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008704/0.0134, allocations: 1.312 MB / 336.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01341, allocations: 0 / 336.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.01341, allocations: 3.938 kB / 336.3 MB, free: 4.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.01342, allocations: 4 kB / 336.3 MB, free: 4.086 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.001316/0.01474, allocations: 1.154 MB / 337.4 MB, free: 2.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.01478, allocations: 11.98 kB / 337.4 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.867e-05/0.01487, allocations: 106.7 kB / 337.6 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.01516, allocations: 136.2 kB / 337.7 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.01581, allocations: 0.5109 MB / 338.2 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.01584, allocations: 49.62 kB / 338.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.01591, allocations: 60.38 kB / 338.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007309/0.01664, allocations: 0.6576 MB / 339 MB, free: 1.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.01665, allocations: 4 kB / 339 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.01669, allocations: 28 kB / 339 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.0167, allocations: 16 kB / 339 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.01736, allocations: 0.5165 MB / 339.5 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.01964, allocations: 2.102 MB / 341.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/0.0202, allocations: 445.1 kB / 342.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/0.02058, allocations: 270.2 kB / 342.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.02061, allocations: 4.5 kB / 342.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.02063, allocations: 39.06 kB / 342.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.843e-06/0.02064, allocations: 4 kB / 342.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.002386/0.02302, allocations: 1.459 MB / 343.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.02306, allocations: 64 kB / 343.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007051/0.02376, allocations: 0.9809 MB / 344.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.02379, allocations: 37.7 kB / 344.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.02399, allocations: 408.8 kB / 345.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.02409, allocations: 218.1 kB / 345.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.02422, allocations: 122.6 kB / 345.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.02429, allocations: 333.9 kB / 346 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.0246, allocations: 225.9 kB / 346.2 MB, free: 9.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/0.02511, allocations: 327.1 kB / 346.5 MB, free: 9.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.02574, allocations: 0.5444 MB / 347.1 MB, free: 9.004 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.02574, allocations: 0 / 347.1 MB, free: 9.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008148/0.02656, allocations: 0.7152 MB / 347.8 MB, free: 8.281 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.02657, allocations: 7.281 kB / 347.8 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.02658, allocations: 7.938 kB / 347.8 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.0266, allocations: 4 kB / 347.8 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.02698, allocations: 172 kB / 348 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.02698, allocations: 4 kB / 348 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.02719, allocations: 35.97 kB / 348 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.02722, allocations: 23.98 kB / 348 MB, free: 8.035 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.0002251/0.02745, allocations: 273.5 kB / 348.3 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.02752, allocations: 87.44 kB / 348.4 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007589/0.02828, allocations: 0.6188 MB / 349 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.02829, allocations: 8 kB / 349 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.02829, allocations: 0 / 349 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.0283, allocations: 3.984 kB / 349 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.02987, allocations: 1.537 MB / 350.5 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.02987, allocations: 4 kB / 350.5 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.03014, allocations: 132.1 kB / 350.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.03014, allocations: 7.938 kB / 350.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.03017, allocations: 12 kB / 350.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.03017, allocations: 12 kB / 350.7 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.03018, allocations: 7.922 kB / 350.7 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.03085, allocations: 0.7264 MB / 351.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.031, allocations: 135.3 kB / 351.6 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.03106, allocations: 23.88 kB / 351.6 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.03125, allocations: 27.97 kB / 351.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.03132, allocations: 44.42 kB / 351.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.03134, allocations: 20 kB / 351.7 MB, free: 4.203 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005108/0.03185, allocations: 0.7021 MB / 352.4 MB, free: 3.504 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.03185, allocations: 0 / 352.4 MB, free: 3.504 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.03221, allocations: 156 kB / 352.5 MB, free: 3.352 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.001638/0.03385, allocations: 1.547 MB / 354.1 MB, free: 1.875 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.03452, allocations: 0.5236 MB / 354.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.03453, allocations: 4 kB / 354.6 MB, free: 1.344 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.03483, allocations: 258.6 kB / 354.9 MB, free: 1.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.03533, allocations: 139.1 kB / 355 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006527/0.04185, allocations: 6.529 MB / 361.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.0421, allocations: 372 kB / 361.9 MB, free: 9.793 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002651/0.04237, allocations: 101.2 kB / 362 MB, free: 9.691 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.04265, allocations: 304.4 kB / 362.3 MB, free: 9.395 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.04266, allocations: 7.875 kB / 362.3 MB, free: 9.387 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.06983, allocations: 17.31 MB / 379.6 MB, free: 8.203 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.588, allocations: 0 / 379.6 MB, free: 8.203 MB / 346.7 MB " [Timeout remaining time 652] (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/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_trunk_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: 11.26683698873967]