Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.0009122/0.0009122, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001164/0.002076, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007338/0.0007338, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000951/0.001685, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.087/1.087, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1833/1.27, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.194e-05, allocations: 2.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006493/0.006525, allocations: 6.091 MB / 228.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.01105, allocations: 1.928 MB / 230 MB, free: 8 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008573/0.0119, allocations: 23.88 kB / 230 MB, free: 7.977 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.01249, allocations: 214.1 kB / 230.2 MB, free: 7.766 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.01353, allocations: 424.5 kB / 230.6 MB, free: 7.348 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008027/0.01434, allocations: 379.5 kB / 231 MB, free: 6.977 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.01612, allocations: 1.518 MB / 232.5 MB, free: 5.453 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/0.01665, allocations: 345.7 kB / 232.9 MB, free: 5.09 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.01778, allocations: 0.9386 MB / 233.8 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.01832, allocations: 474.7 kB / 234.3 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.01848, allocations: 152 kB / 234.4 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.01865, allocations: 156 kB / 234.6 MB, free: 3.387 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.01881, allocations: 235.2 kB / 234.8 MB, free: 3.156 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.01914, allocations: 375.4 kB / 235.2 MB, free: 2.789 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009059/0.02004, allocations: 0.876 MB / 236 MB, free: 1.91 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.807e-05/0.02006, allocations: 0 / 236 MB, free: 1.91 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.02006, allocations: 0 / 236 MB, free: 1.91 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.02009, allocations: 0 / 236 MB, free: 1.91 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001897/0.02198, allocations: 1.547 MB / 237.6 MB, free: 340 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.02203, allocations: 8.031 kB / 237.6 MB, free: 332 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.02224, allocations: 164.8 kB / 237.8 MB, free: 168 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/0.02289, allocations: 425 kB / 238.2 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.02295, allocations: 74.38 kB / 238.2 MB, free: 15.65 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.02306, allocations: 108.3 kB / 238.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008164/0.02388, allocations: 0.7362 MB / 239.1 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.0239, allocations: 8.109 kB / 239.1 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.02395, allocations: 40.38 kB / 239.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.02398, allocations: 27.94 kB / 239.2 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.02437, allocations: 288 kB / 239.4 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.02689, allocations: 1.963 MB / 241.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.0274, allocations: 454.5 kB / 241.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.02761, allocations: 195.1 kB / 242 MB, free: 11.74 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.86e-05/0.02766, allocations: 16.5 kB / 242.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.0277, allocations: 47 kB / 242.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=90): time 2.685e-06/0.0277, allocations: 4 kB / 242.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=113): time 0.003921/0.03162, allocations: 2.593 MB / 244.7 MB, free: 8.965 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.03167, allocations: 89.77 kB / 244.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.03203, allocations: 467.1 kB / 245.2 MB, free: 8.387 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.03208, allocations: 45.7 kB / 245.3 MB, free: 8.336 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.03225, allocations: 374.2 kB / 245.7 MB, free: 7.965 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.03246, allocations: 404.4 kB / 246.1 MB, free: 7.566 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.03263, allocations: 186.8 kB / 246.2 MB, free: 7.375 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.03275, allocations: 398.6 kB / 246.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.0329, allocations: 110.6 kB / 246.7 MB, free: 6.871 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.03313, allocations: 269.1 kB / 247 MB, free: 6.566 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.03357, allocations: 473.6 kB / 247.5 MB, free: 6.07 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.03357, allocations: 8 kB / 247.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0006573/0.03423, allocations: 0.5782 MB / 248 MB, free: 5.469 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.03425, allocations: 6.656 kB / 248 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.03426, allocations: 4 kB / 248.1 MB, free: 5.461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002801/0.03454, allocations: 114.8 kB / 248.2 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.03517, allocations: 299.5 kB / 248.5 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.0376, allocations: 4.065 MB / 252.5 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.03796, allocations: 39.98 kB / 252.6 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.038, allocations: 35.92 kB / 252.6 MB, free: 0.6484 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002704/0.03827, allocations: 169.7 kB / 252.8 MB, free: 484 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.03839, allocations: 91.91 kB / 252.9 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005822/0.03898, allocations: 442.4 kB / 253.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.03899, allocations: 12 kB / 253.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.039, allocations: 8 kB / 253.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.03901, allocations: 3.984 kB / 253.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.04064, allocations: 1.27 MB / 254.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.04064, allocations: 3.984 kB / 254.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.04114, allocations: 235.8 kB / 254.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.04122, allocations: 75.41 kB / 254.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003505/0.04157, allocations: 155.3 kB / 255 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.04162, allocations: 27.98 kB / 255.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/0.04419, allocations: 4.862 MB / 259.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.0442, allocations: 8.109 kB / 259.9 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009144/0.04511, allocations: 0.9012 MB / 260.8 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.04518, allocations: 20 kB / 260.9 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.04541, allocations: 39.98 kB / 260.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.04555, allocations: 80.28 kB / 261 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.04558, allocations: 27.98 kB / 261 MB, free: 7.777 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.04578, allocations: 208.4 kB / 261.2 MB, free: 7.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04578, allocations: 0 / 261.2 MB, free: 7.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007974/0.04657, allocations: 252 kB / 261.4 MB, free: 7.328 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001991/0.04677, allocations: 124.1 kB / 261.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.04786, allocations: 0.8701 MB / 262.4 MB, free: 6.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.053e-05/0.04789, allocations: 12 kB / 262.5 MB, free: 6.273 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00065/0.04854, allocations: 0.8421 MB / 263.3 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.0497, allocations: 1.671 MB / 265 MB, free: 3.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/0.05416, allocations: 1.849 MB / 266.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.05434, allocations: 206.7 kB / 267 MB, free: 1.281 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.05474, allocations: 115.4 kB / 267.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.0551, allocations: 241.2 kB / 267.4 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0551, allocations: 0 / 267.4 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of Templates: time 0.01872/0.07382, allocations: 13.84 MB / 281.2 MB, free: 3.086 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3097853511571884]