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.0008161/0.0008161, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.001937, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007304/0.0007304, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009326/0.001663, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9003/0.9003, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08091/0.9813, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.843e-05, allocations: 6.25 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.008144/0.008163, allocations: 4.653 MB / 249.2 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006403/0.01457, allocations: 2.021 MB / 251.2 MB, free: 7.621 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003442/0.01801, allocations: 15.94 kB / 251.2 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006566/0.01867, allocations: 426 kB / 251.6 MB, free: 7.188 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009519/0.01962, allocations: 485.1 kB / 252.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.02019, allocations: 327.3 kB / 252.4 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003955/0.02414, allocations: 1.055 MB / 253.5 MB, free: 5.328 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.02443, allocations: 201 kB / 253.7 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000777/0.0252, allocations: 0.7029 MB / 254.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004823/0.02569, allocations: 423 kB / 254.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.02579, allocations: 96 kB / 254.9 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.02625, allocations: 135.9 kB / 255 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.02639, allocations: 187.4 kB / 255.2 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.02968, allocations: 255.4 kB / 255.4 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007/0.03038, allocations: 0.6617 MB / 256.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479e-05/0.03039, allocations: 0 / 256.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.03039, allocations: 0 / 256.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.03041, allocations: 3.938 kB / 256.1 MB, free: 2.684 MB / 250.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.001463/0.03187, allocations: 1.281 MB / 257.4 MB, free: 1.375 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.03191, allocations: 11.98 kB / 257.4 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.03228, allocations: 213.9 kB / 257.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.03586, allocations: 398 kB / 258 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.0359, allocations: 45.69 kB / 258 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.03598, allocations: 68.12 kB / 258.1 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.03655, allocations: 489.8 kB / 258.6 MB, free: 104 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.03657, allocations: 4 kB / 258.6 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.03661, allocations: 20 kB / 258.6 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.03662, allocations: 16 kB / 258.6 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.03693, allocations: 177 kB / 258.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005122/0.04206, allocations: 1.463 MB / 260.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.04241, allocations: 243.9 kB / 260.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.04287, allocations: 154.1 kB / 260.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.04291, allocations: 12.48 kB / 260.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.04294, allocations: 39.06 kB / 260.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 2.094e-06/0.04294, allocations: 0 / 260.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.004461/0.0474, allocations: 0.7511 MB / 261.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.04744, allocations: 64 kB / 261.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.04797, allocations: 0.6342 MB / 262.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.04801, allocations: 33.7 kB / 262.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.04817, allocations: 334.4 kB / 262.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.04829, allocations: 222 kB / 262.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.04844, allocations: 126.6 kB / 262.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.04857, allocations: 394.6 kB / 263.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.04869, allocations: 61.97 kB / 263.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.04886, allocations: 171.1 kB / 263.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.04919, allocations: 284.2 kB / 263.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.04919, allocations: 0 / 263.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0004453/0.04963, allocations: 345 kB / 264.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.04965, allocations: 8 kB / 264.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.04966, allocations: 0 / 264.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.04967, allocations: 8 kB / 264.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/0.05023, allocations: 195.7 kB / 264.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.05023, allocations: 4.281 kB / 264.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/0.05352, allocations: 35.94 kB / 264.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.05355, allocations: 19.98 kB / 264.3 MB, free: 10.15 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 (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.0001533/0.05371, allocations: 148.5 kB / 264.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.0538, allocations: 63.94 kB / 264.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/0.05423, allocations: 321.3 kB / 264.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.05424, allocations: 8 kB / 264.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.05424, allocations: 3.938 kB / 264.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.05425, allocations: 3.984 kB / 264.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.05546, allocations: 0.9218 MB / 265.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.05547, allocations: 4 kB / 265.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.05586, allocations: 152.1 kB / 266 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.056, allocations: 79.45 kB / 266 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.056, allocations: 4 kB / 266 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.05603, allocations: 16 kB / 266.1 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.05604, allocations: 15.88 kB / 266.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.05604, allocations: 4 kB / 266.1 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/0.0595, allocations: 440.4 kB / 266.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.05956, allocations: 15.98 kB / 266.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.05979, allocations: 24 kB / 266.5 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.05985, allocations: 48.34 kB / 266.6 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.05987, allocations: 16 kB / 266.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000219/0.06009, allocations: 335.4 kB / 266.9 MB, free: 7.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06009, allocations: 0 / 266.9 MB, free: 7.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.0605, allocations: 151.9 kB / 267.1 MB, free: 7.277 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 (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.001522/0.06202, allocations: 497.4 kB / 267.6 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004706/0.06249, allocations: 294.9 kB / 267.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.168e-05/0.06252, allocations: 8.562 kB / 267.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.0627, allocations: 152.8 kB / 268 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.06326, allocations: 198.8 kB / 268.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.06618, allocations: 1.427 MB / 269.6 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.06629, allocations: 168.2 kB / 269.8 MB, free: 4.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000201/0.06649, allocations: 88.95 kB / 269.9 MB, free: 4.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.06673, allocations: 173.3 kB / 270.1 MB, free: 4.434 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.06673, allocations: 0 / 270.1 MB, free: 4.434 MB / 266.7 MB Notification: Performance of Templates: time 0.1006/0.1673, allocations: 8.699 MB / 278.8 MB, free: 18.08 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] 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","",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.918270858004689]