Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.0007723/0.0007723, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.0009048/0.0009048, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9258/0.9258, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 251.5 MB, free: 7.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.317e-05, allocations: 10.19 kB / 251.5 MB, free: 7.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007906/0.007929, allocations: 6.11 MB / 257.6 MB, free: 1.203 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004613/0.01254, allocations: 2.112 MB / 259.7 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006841/0.01323, allocations: 23.88 kB / 259.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007666/0.01399, allocations: 353.7 kB / 260.1 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.01539, allocations: 0.5042 MB / 260.6 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.01666, allocations: 435.3 kB / 261 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.01824, allocations: 1.588 MB / 262.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.01864, allocations: 329.9 kB / 262.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009243/0.01957, allocations: 0.8927 MB / 263.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005306/0.0201, allocations: 0.5337 MB / 264.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.02025, allocations: 156 kB / 264.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.02048, allocations: 184 kB / 264.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.02066, allocations: 322.9 kB / 265 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.02104, allocations: 462.9 kB / 265.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008246/0.02187, allocations: 1.008 MB / 266.4 MB, free: 8.297 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.02187, allocations: 4 kB / 266.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.02187, allocations: 4 kB / 266.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.02188, allocations: 0 / 266.4 MB, free: 8.289 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001582/0.02347, allocations: 1.546 MB / 268 MB, free: 6.703 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.0235, allocations: 12.03 kB / 268 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004746/0.02397, allocations: 212.1 kB / 268.2 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.0246, allocations: 0.6357 MB / 268.8 MB, free: 5.816 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.02464, allocations: 74.38 kB / 268.9 MB, free: 5.746 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.05e-05/0.02473, allocations: 96.36 kB / 269 MB, free: 5.652 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/0.02551, allocations: 0.7261 MB / 269.7 MB, free: 4.891 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.02554, allocations: 15.88 kB / 269.8 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.02559, allocations: 40 kB / 269.8 MB, free: 4.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.0256, allocations: 27.98 kB / 269.8 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.02603, allocations: 315.9 kB / 270.1 MB, free: 4.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.02872, allocations: 2.653 MB / 272.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007778/0.0295, allocations: 481.6 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.02968, allocations: 159.2 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.02971, allocations: 16.36 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.02974, allocations: 53.31 kB / 273.5 MB, free: 1.008 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 1.643e-06/0.02974, allocations: 0 / 273.5 MB, free: 1.008 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.001259/0.031, allocations: 0.8231 MB / 274.3 MB, free: 184 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.03103, allocations: 81.11 kB / 274.4 MB, free: 84 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.03156, allocations: 0.7253 MB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.03159, allocations: 33.7 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000577/0.03216, allocations: 0.6077 MB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.0323, allocations: 245.9 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.03247, allocations: 164.2 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.03266, allocations: 0.5818 MB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.03281, allocations: 97.91 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.03307, allocations: 362.7 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.03351, allocations: 487.9 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.03351, allocations: 8 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006268/0.03414, allocations: 0.5823 MB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.03415, allocations: 8 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.03416, allocations: 4 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.03417, allocations: 12.69 kB / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.03467, allocations: 247.6 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.03468, allocations: 15.94 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.03496, allocations: 55.86 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.03499, allocations: 27.98 kB / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.000173/0.03516, allocations: 208.5 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.03528, allocations: 111.4 kB / 278.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.03552, allocations: 225.1 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.03553, allocations: 4 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.03553, allocations: 4 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.03554, allocations: 7.922 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.03718, allocations: 1.561 MB / 280.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.03719, allocations: 11.88 kB / 280.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.03754, allocations: 175.8 kB / 280.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.03755, allocations: 8 kB / 280.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.03757, allocations: 23.98 kB / 280.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.03758, allocations: 11.94 kB / 280.9 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.03759, allocations: 8 kB / 281 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009693/0.03856, allocations: 0.913 MB / 281.9 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.0387, allocations: 107.3 kB / 282 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.03878, allocations: 20 kB / 282 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.03916, allocations: 39.97 kB / 282 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003992/0.03956, allocations: 71.72 kB / 282.1 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.03959, allocations: 27.98 kB / 282.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002872/0.03988, allocations: 438.8 kB / 282.6 MB, free: 7.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03988, allocations: 0 / 282.6 MB, free: 7.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005147/0.04039, allocations: 204 kB / 282.8 MB, free: 7.141 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0007294/0.04112, allocations: 348 kB / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007042/0.04182, allocations: 397.7 kB / 283.5 MB, free: 6.453 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.04183, allocations: 0 / 283.5 MB, free: 6.453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.04202, allocations: 184.9 kB / 283.7 MB, free: 6.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.04268, allocations: 208 kB / 283.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.04461, allocations: 1.744 MB / 285.6 MB, free: 4.164 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.04474, allocations: 176.6 kB / 285.8 MB, free: 3.969 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003068/0.04505, allocations: 114.4 kB / 285.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.0454, allocations: 254.1 kB / 286.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0454, allocations: 0 / 286.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of Templates: time 0.0143/0.0597, allocations: 11.13 MB / 297.3 MB, free: 8.469 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.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.9025854389183223]