Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007611/0.0007611, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.001928, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007682/0.0007682, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009493/0.001717, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.041/1.041, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09053/1.132, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.527e-05, allocations: 5.688 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008161/0.008186, allocations: 6.28 MB / 251 MB, free: 7.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004648/0.01283, allocations: 1.97 MB / 253 MB, free: 5.922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007185/0.01355, allocations: 27.88 kB / 253 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.01412, allocations: 214 kB / 253.2 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.01523, allocations: 448.4 kB / 253.6 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.01604, allocations: 383.4 kB / 254 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.01771, allocations: 1.549 MB / 255.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005711/0.01828, allocations: 337.9 kB / 255.9 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.0197, allocations: 0.9774 MB / 256.9 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008376/0.02054, allocations: 470.6 kB / 257.3 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.02078, allocations: 156 kB / 257.5 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.02107, allocations: 172 kB / 257.6 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.0213, allocations: 235.3 kB / 257.9 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.02178, allocations: 387.3 kB / 258.3 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.02303, allocations: 0.8762 MB / 259.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.642e-05/0.02305, allocations: 0 / 259.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02305, allocations: 0 / 259.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.758e-05/0.02309, allocations: 0 / 259.1 MB, free: 15.71 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002554/0.02564, allocations: 1.582 MB / 260.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.02569, allocations: 8.031 kB / 260.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005917/0.02628, allocations: 265.9 kB / 261 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007997/0.02708, allocations: 452.9 kB / 261.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.391e-05/0.02715, allocations: 74.38 kB / 261.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.0273, allocations: 107.9 kB / 261.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.02837, allocations: 0.7239 MB / 262.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.0284, allocations: 7.953 kB / 262.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/0.02848, allocations: 40 kB / 262.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.0285, allocations: 24 kB / 262.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/0.0291, allocations: 284 kB / 262.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.03264, allocations: 1.971 MB / 264.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.03338, allocations: 456.1 kB / 265.1 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.03369, allocations: 191.5 kB / 265.3 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.606e-05/0.03374, allocations: 20.25 kB / 265.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.03378, allocations: 43.06 kB / 265.3 MB, free: 9.305 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 3.877e-06/0.03379, allocations: 0 / 265.3 MB, free: 9.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=117): time 0.005776/0.03956, allocations: 2.608 MB / 267.9 MB, free: 6.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.03962, allocations: 97.64 kB / 268 MB, free: 6.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.04015, allocations: 487 kB / 268.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.0402, allocations: 49.7 kB / 268.6 MB, free: 5.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.04043, allocations: 386.2 kB / 268.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.04071, allocations: 416.3 kB / 269.3 MB, free: 5.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.04101, allocations: 194.8 kB / 269.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.04117, allocations: 402.6 kB / 269.9 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.0414, allocations: 106.6 kB / 270 MB, free: 4.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.04174, allocations: 257.6 kB / 270.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006971/0.04244, allocations: 498.7 kB / 270.8 MB, free: 3.617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.04244, allocations: 0 / 270.8 MB, free: 3.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001022/0.04347, allocations: 0.5883 MB / 271.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.04349, allocations: 8 kB / 271.4 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.0435, allocations: 0 / 271.4 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.04394, allocations: 130.7 kB / 271.5 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009727/0.04491, allocations: 291.6 kB / 271.8 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.04798, allocations: 4.063 MB / 275.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.04852, allocations: 31.98 kB / 275.9 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.04859, allocations: 35.98 kB / 275.9 MB, free: 14.2 MB / 282.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 (131): * Single equations (assignments): 128 * 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.0003022/0.04889, allocations: 173.6 kB / 276.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.04906, allocations: 91.92 kB / 276.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007926/0.04985, allocations: 442.8 kB / 276.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.04986, allocations: 12 kB / 276.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.04987, allocations: 4 kB / 276.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.04989, allocations: 7.969 kB / 276.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.05235, allocations: 1.301 MB / 277.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.05236, allocations: 4 kB / 277.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008168/0.05318, allocations: 238.1 kB / 278.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.05347, allocations: 91.47 kB / 278.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005634/0.05403, allocations: 155.3 kB / 278.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/0.05408, allocations: 23.98 kB / 278.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/0.05749, allocations: 4.875 MB / 283.3 MB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.05749, allocations: 4 kB / 283.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.05877, allocations: 0.9016 MB / 284.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.05889, allocations: 24 kB / 284.2 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.05928, allocations: 36.05 kB / 284.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.05943, allocations: 84.44 kB / 284.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.05947, allocations: 23.98 kB / 284.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003056/0.05978, allocations: 220.4 kB / 284.6 MB, free: 5.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05978, allocations: 0 / 284.6 MB, free: 5.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009349/0.06071, allocations: 260 kB / 284.8 MB, free: 4.801 MB / 282.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 (106): * Single equations (assignments): 102 * 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.0001899/0.0609, allocations: 124.2 kB / 285 MB, free: 4.672 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.06219, allocations: 0.871 MB / 285.8 MB, free: 3.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.879e-05/0.06223, allocations: 25.02 kB / 285.9 MB, free: 3.742 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000944/0.06317, allocations: 0.8418 MB / 286.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.06504, allocations: 1.912 MB / 288.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1222/0.1873, allocations: 1.875 MB / 290.5 MB, free: 34.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1876, allocations: 216.2 kB / 290.7 MB, free: 34.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007297/0.1883, allocations: 123.9 kB / 290.8 MB, free: 34.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006724/0.189, allocations: 258 kB / 291.1 MB, free: 34.34 MB / 282.7 MB Notification: Performance of SimCode: time 1.984e-06/0.189, allocations: 0 / 291.1 MB, free: 34.34 MB / 282.7 MB Notification: Performance of Templates: time 0.02695/0.2159, allocations: 14.72 MB / 305.8 MB, free: 30.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.059171110391617]