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.001016/0.001016, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001228/0.001228, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.8983/0.8983, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.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 1.383e-06/1.383e-06, allocations: 0 / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.912e-05, allocations: 6.312 kB / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005652/0.005671, allocations: 6.144 MB / 257.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.008421, allocations: 1.862 MB / 259.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000488/0.008909, allocations: 23.88 kB / 259.1 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.009448, allocations: 214.1 kB / 259.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008567/0.0103, allocations: 428.5 kB / 259.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006968/0.011, allocations: 375.5 kB / 260.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.0125, allocations: 1.529 MB / 261.6 MB, free: 8.996 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004762/0.01298, allocations: 317.8 kB / 261.9 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000872/0.01385, allocations: 0.8499 MB / 262.8 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00055/0.0144, allocations: 482.6 kB / 263.2 MB, free: 7.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.01457, allocations: 160 kB / 263.4 MB, free: 7.188 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.01476, allocations: 160 kB / 263.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.01497, allocations: 311 kB / 263.8 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.01538, allocations: 463 kB / 264.3 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009473/0.01632, allocations: 0.9655 MB / 265.3 MB, free: 5.305 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.01633, allocations: 0 / 265.3 MB, free: 5.305 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01633, allocations: 4 kB / 265.3 MB, free: 5.301 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.01634, allocations: 0 / 265.3 MB, free: 5.301 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001993/0.01833, allocations: 1.453 MB / 266.7 MB, free: 3.809 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.01838, allocations: 15.98 kB / 266.7 MB, free: 3.793 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.01863, allocations: 208.1 kB / 266.9 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009008/0.01953, allocations: 0.6175 MB / 267.6 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.0196, allocations: 74.38 kB / 267.6 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.01974, allocations: 100.4 kB / 267.7 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.02097, allocations: 0.7965 MB / 268.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.021, allocations: 4.141 kB / 268.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.277e-05/0.02107, allocations: 44.38 kB / 268.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.0211, allocations: 27.94 kB / 268.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008445/0.02194, allocations: 433.5 kB / 269 MB, free: 1.445 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.02534, allocations: 2.586 MB / 271.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008439/0.02618, allocations: 0.5317 MB / 272.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004777/0.02666, allocations: 256.5 kB / 272.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.828e-05/0.02672, allocations: 24.48 kB / 272.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.02675, allocations: 41.89 kB / 272.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=91): time 5.64e-06/0.02675, allocations: 3.984 kB / 272.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=115): time 0.005158/0.03191, allocations: 2.987 MB / 275.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.03196, allocations: 89.77 kB / 275.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.03257, allocations: 0.5376 MB / 276.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.03262, allocations: 45.7 kB / 276.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.03288, allocations: 495.6 kB / 276.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.03314, allocations: 408.5 kB / 277 MB, free: 9.156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.03339, allocations: 192.5 kB / 277.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.03358, allocations: 0.5625 MB / 277.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.03395, allocations: 174.5 kB / 277.9 MB, free: 8.215 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.03442, allocations: 346.4 kB / 278.3 MB, free: 7.828 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/0.03523, allocations: 0.5557 MB / 278.8 MB, free: 7.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.03524, allocations: 0 / 278.8 MB, free: 7.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001303/0.03654, allocations: 0.8352 MB / 279.6 MB, free: 6.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.03656, allocations: 12.23 kB / 279.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.03657, allocations: 8 kB / 279.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004063/0.03698, allocations: 135 kB / 279.8 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006933/0.03767, allocations: 231.7 kB / 280 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.04073, allocations: 6.012 MB / 286 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.04109, allocations: 39.98 kB / 286.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.04115, allocations: 39.98 kB / 286.1 MB, free: 15.53 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * 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.0002417/0.04139, allocations: 220.4 kB / 286.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.04156, allocations: 119.5 kB / 286.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008804/0.04244, allocations: 0.5613 MB / 287 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.04245, allocations: 12 kB / 287 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.04246, allocations: 8 kB / 287 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.04247, allocations: 3.984 kB / 287 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.04503, allocations: 1.882 MB / 288.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.04503, allocations: 7.938 kB / 288.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/0.04563, allocations: 195.8 kB / 289.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.04609, allocations: 154.6 kB / 289.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.04615, allocations: 31.92 kB / 289.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/0.04948, allocations: 7.208 MB / 296.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.04949, allocations: 4 kB / 296.5 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.0512, allocations: 1.264 MB / 297.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.0513, allocations: 83.41 kB / 297.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/0.05138, allocations: 28.06 kB / 297.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.05172, allocations: 35.98 kB / 297.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.05186, allocations: 84.45 kB / 298 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.05191, allocations: 35.98 kB / 298 MB, free: 2.945 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003448/0.05226, allocations: 362.7 kB / 298.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05226, allocations: 0 / 298.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007963/0.05306, allocations: 256 kB / 298.6 MB, free: 2.34 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 (104): * Single equations (assignments): 100 * 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.0001728/0.05323, allocations: 131 kB / 298.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.05462, allocations: 1.135 MB / 299.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.05462, allocations: 0 / 299.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09526/0.1499, allocations: 1.049 MB / 300.9 MB, free: 53.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008825/0.1508, allocations: 195.9 kB / 301.1 MB, free: 53.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.1533, allocations: 1.853 MB / 303 MB, free: 53.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.1535, allocations: 200.7 kB / 303.2 MB, free: 52.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003161/0.1538, allocations: 114.8 kB / 303.3 MB, free: 52.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.154, allocations: 80.92 kB / 303.4 MB, free: 52.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.493e-06/0.154, allocations: 0 / 303.4 MB, free: 52.93 MB / 282.7 MB Notification: Performance of Templates: time 0.01619/0.1702, allocations: 12.12 MB / 315.5 MB, free: 49.02 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4397932826541364]