Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009632/0.0009632, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008923/0.0008923, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8635/0.8635, allocations: 173.4 MB / 202.2 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.229e-05, allocations: 3.188 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005647/0.005659, allocations: 4.49 MB / 273.7 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002845/0.008504, allocations: 1.767 MB / 275.4 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/0.008793, allocations: 16.44 kB / 275.5 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.009492, allocations: 418.1 kB / 275.9 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007351/0.01023, allocations: 437.4 kB / 276.3 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.01082, allocations: 323.3 kB / 276.6 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000968/0.01178, allocations: 1.047 MB / 277.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.01209, allocations: 191.1 kB / 277.9 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.01268, allocations: 0.5926 MB / 278.4 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.01317, allocations: 447 kB / 278.9 MB, free: 76 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.0133, allocations: 96.05 kB / 279 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.0135, allocations: 127.9 kB / 279.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.01369, allocations: 235.2 kB / 279.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.01389, allocations: 299.2 kB / 279.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.01452, allocations: 0.6929 MB / 280.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01452, allocations: 4 kB / 280.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01452, allocations: 0 / 280.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.453e-06/0.01453, allocations: 0 / 280.3 MB, free: 14.63 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001633/0.01616, allocations: 1.235 MB / 281.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.0162, allocations: 15.91 kB / 281.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.0164, allocations: 152.3 kB / 281.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/0.01716, allocations: 488 kB / 282.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.01721, allocations: 45.69 kB / 282.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.01731, allocations: 64.33 kB / 282.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.01801, allocations: 498.8 kB / 282.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.01802, allocations: 7.938 kB / 282.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.01806, allocations: 28 kB / 282.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.01807, allocations: 12 kB / 282.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.01851, allocations: 212.9 kB / 283 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.02106, allocations: 1.909 MB / 285 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.02146, allocations: 251.5 kB / 285.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.02171, allocations: 167 kB / 285.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.02175, allocations: 12.5 kB / 285.4 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.02178, allocations: 45.83 kB / 285.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.104e-06/0.02178, allocations: 0 / 285.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001539/0.02332, allocations: 0.8176 MB / 286.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.02335, allocations: 63.89 kB / 286.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/0.02388, allocations: 0.6943 MB / 287 MB, free: 7.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.02392, allocations: 33.7 kB / 287 MB, free: 7.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.02415, allocations: 487.1 kB / 287.5 MB, free: 7.223 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.02427, allocations: 214.1 kB / 287.7 MB, free: 7.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.02441, allocations: 132.2 kB / 287.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.02459, allocations: 0.5702 MB / 288.4 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.02472, allocations: 77.92 kB / 288.5 MB, free: 6.215 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.0249, allocations: 215.4 kB / 288.7 MB, free: 5.961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.0252, allocations: 301.2 kB / 289 MB, free: 5.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.0252, allocations: 0 / 289 MB, free: 5.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000502/0.0257, allocations: 460.7 kB / 289.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.02572, allocations: 4 kB / 289.4 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.02572, allocations: 4 kB / 289.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.02573, allocations: 4 kB / 289.4 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.02613, allocations: 167.8 kB / 289.6 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.02613, allocations: 7.938 kB / 289.6 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.02636, allocations: 35.92 kB / 289.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.02639, allocations: 19.98 kB / 289.7 MB, free: 4.938 MB / 266.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 (83): * Single equations (assignments): 83 * 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.0001682/0.02655, allocations: 192.5 kB / 289.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.654e-05/0.02665, allocations: 99.52 kB / 290 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.02708, allocations: 369.3 kB / 290.3 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.02708, allocations: 4 kB / 290.3 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02709, allocations: 0 / 290.3 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.02709, allocations: 7.922 kB / 290.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.02839, allocations: 1.189 MB / 291.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.02839, allocations: 4 kB / 291.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.02866, allocations: 123.8 kB / 291.6 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.02867, allocations: 8.25 kB / 291.7 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.02869, allocations: 20 kB / 291.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.0287, allocations: 7.938 kB / 291.7 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.0287, allocations: 0 / 291.7 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.02915, allocations: 0.5982 MB / 292.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.0293, allocations: 127.4 kB / 292.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/0.02938, allocations: 12 kB / 292.4 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.02956, allocations: 31.97 kB / 292.4 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.02963, allocations: 48.36 kB / 292.5 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.02965, allocations: 16 kB / 292.5 MB, free: 1.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000265/0.02991, allocations: 434.9 kB / 292.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02991, allocations: 0 / 292.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003766/0.03029, allocations: 151.9 kB / 293.1 MB, free: 1.363 MB / 266.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 (61): * Single equations (assignments): 61 * 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.0007086/0.031, allocations: 351.6 kB / 293.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.03138, allocations: 308.6 kB / 293.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.03138, allocations: 4 kB / 293.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.03154, allocations: 159.3 kB / 293.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.03199, allocations: 128 kB / 294 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.03359, allocations: 1.365 MB / 295.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.03372, allocations: 168.1 kB / 295.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.03395, allocations: 84.83 kB / 295.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.03422, allocations: 198.1 kB / 295.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of SimCode: time 9.31e-07/0.03422, allocations: 0 / 295.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of Templates: time 0.01167/0.04589, allocations: 8.322 MB / 304.1 MB, free: 6.441 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.952047157101333]