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.001409/0.001409, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.00141/0.00141, allocations: 164.6 kB / 25.69 MB, free: 8.41 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.8123/0.8123, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.213e-06/1.213e-06, allocations: 0 / 251.5 MB, free: 7.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.178e-05, allocations: 2.312 kB / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005267/0.005279, allocations: 6.02 MB / 257.5 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.008609, allocations: 1.916 MB / 259.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.009084, allocations: 27.88 kB / 259.5 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.00949, allocations: 206.1 kB / 259.7 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006901/0.01018, allocations: 428.5 kB / 260.1 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.01068, allocations: 379.4 kB / 260.5 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.01191, allocations: 1.533 MB / 262 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.01229, allocations: 337.8 kB / 262.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009138/0.01321, allocations: 0.8499 MB / 263.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.0136, allocations: 470.7 kB / 263.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.01372, allocations: 156 kB / 263.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.01384, allocations: 156 kB / 264 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.01399, allocations: 307 kB / 264.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.0143, allocations: 458.9 kB / 264.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006569/0.01495, allocations: 0.9382 MB / 265.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.01496, allocations: 3.984 kB / 265.6 MB, free: 9.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01496, allocations: 3.938 kB / 265.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.01497, allocations: 4 kB / 265.6 MB, free: 9.062 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.001328/0.0163, allocations: 1.317 MB / 267 MB, free: 7.719 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.01632, allocations: 15.98 kB / 267 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.01648, allocations: 152.8 kB / 267.1 MB, free: 7.555 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.01695, allocations: 433 kB / 267.6 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.017, allocations: 78.38 kB / 267.6 MB, free: 7.027 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.773e-05/0.0171, allocations: 100.3 kB / 267.7 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.0178, allocations: 0.7401 MB / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.01782, allocations: 4.172 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.01787, allocations: 40.38 kB / 268.5 MB, free: 6.121 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.01789, allocations: 27.94 kB / 268.5 MB, free: 6.094 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.01827, allocations: 283.9 kB / 268.8 MB, free: 5.812 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.02056, allocations: 1.948 MB / 270.8 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.02101, allocations: 455.5 kB / 271.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.02121, allocations: 198.9 kB / 271.4 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.02125, allocations: 24.48 kB / 271.4 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.02127, allocations: 43.06 kB / 271.5 MB, free: 3.055 MB / 250.7 MB Notification: Performance of pre-optimization done (n=90): time 2.084e-06/0.02127, allocations: 0 / 271.5 MB, free: 3.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=113): time 0.003353/0.02463, allocations: 2.526 MB / 274 MB, free: 440 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.02466, allocations: 89.77 kB / 274.1 MB, free: 332 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.02495, allocations: 471 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.02499, allocations: 49.7 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.02513, allocations: 378.2 kB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.0253, allocations: 404.4 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.02546, allocations: 182.9 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.02556, allocations: 398.6 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.02571, allocations: 110.6 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.02593, allocations: 261.1 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.0264, allocations: 469.4 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.0264, allocations: 0 / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0005988/0.027, allocations: 0.5744 MB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.02701, allocations: 8 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.02702, allocations: 4 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.02726, allocations: 114.8 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.02771, allocations: 239.6 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.0294, allocations: 4.062 MB / 281.7 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.02962, allocations: 39.97 kB / 281.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.02966, allocations: 28 kB / 281.8 MB, free: 8.203 MB / 266.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.0001655/0.02982, allocations: 177.6 kB / 282 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/0.02992, allocations: 87.92 kB / 282.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.03037, allocations: 438.5 kB / 282.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.03038, allocations: 15.94 kB / 282.5 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.03038, allocations: 4 kB / 282.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.03039, allocations: 3.984 kB / 282.5 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.03181, allocations: 1.286 MB / 283.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.03181, allocations: 7.938 kB / 283.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.03221, allocations: 191.7 kB / 284 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002962/0.0325, allocations: 143.4 kB / 284.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.03254, allocations: 23.98 kB / 284.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.03435, allocations: 4.858 MB / 289 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.03435, allocations: 0 / 289 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.03515, allocations: 0.8897 MB / 289.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.03522, allocations: 75.55 kB / 290 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.03528, allocations: 27.92 kB / 290 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.03551, allocations: 39.92 kB / 290 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.03559, allocations: 84.5 kB / 290.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.03562, allocations: 28.05 kB / 290.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.03577, allocations: 212.4 kB / 290.4 MB, free: 15.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03577, allocations: 0 / 290.4 MB, free: 15.17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004606/0.03623, allocations: 252 kB / 290.6 MB, free: 14.92 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 (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.0001108/0.03634, allocations: 115.7 kB / 290.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007804/0.03712, allocations: 0.857 MB / 291.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.03713, allocations: 8 kB / 291.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004722/0.0376, allocations: 0.7787 MB / 292.4 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.03808, allocations: 193.9 kB / 292.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.03992, allocations: 1.714 MB / 294.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.04004, allocations: 198.5 kB / 294.5 MB, free: 10.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002655/0.04031, allocations: 115.2 kB / 294.6 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.04063, allocations: 241.2 kB / 294.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.04063, allocations: 0 / 294.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of Templates: time 0.01532/0.05595, allocations: 13.06 MB / 307.9 MB, free: 13.52 MB / 298.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: 2.9323807270266116]