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.0009646/0.0009646, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001114/0.001114, allocations: 156.5 kB / 25.44 MB, free: 8.855 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.9442/0.9442, allocations: 158.6 MB / 187.2 MB, free: 3.043 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.663e-06/1.663e-06, allocations: 0 / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.721e-05, allocations: 2.281 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005317/0.005344, allocations: 5.526 MB / 305.2 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.008303, allocations: 1.804 MB / 307 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005324/0.008835, allocations: 23.88 kB / 307.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.009307, allocations: 210.1 kB / 307.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000703/0.01001, allocations: 420.6 kB / 307.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.01052, allocations: 383.4 kB / 308 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.01154, allocations: 1.533 MB / 309.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003807/0.01192, allocations: 333.7 kB / 309.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000753/0.01268, allocations: 0.8383 MB / 310.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.01307, allocations: 458.7 kB / 311.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.01319, allocations: 160 kB / 311.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.01331, allocations: 160 kB / 311.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.01344, allocations: 310.9 kB / 311.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.01372, allocations: 455 kB / 312.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.01485, allocations: 1.909 MB / 314.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01485, allocations: 0 / 314.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.01486, allocations: 0 / 314.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.01487, allocations: 3.938 kB / 314.2 MB, free: 8.379 MB / 298.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.001701/0.01657, allocations: 1.385 MB / 315.5 MB, free: 6.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.01661, allocations: 15.98 kB / 315.6 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.01676, allocations: 128.1 kB / 315.7 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008218/0.01758, allocations: 0.6186 MB / 316.3 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.1e-05/0.01763, allocations: 74.38 kB / 316.4 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.01774, allocations: 92.38 kB / 316.5 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.01895, allocations: 1.06 MB / 317.5 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.01898, allocations: 4.141 kB / 317.5 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.01903, allocations: 36.38 kB / 317.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.01905, allocations: 31.94 kB / 317.6 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.02031, allocations: 0.864 MB / 318.5 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.02324, allocations: 2.701 MB / 321.2 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000886/0.02413, allocations: 0.7728 MB / 321.9 MB, free: 428 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.02465, allocations: 435 kB / 322.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.02469, allocations: 13.09 kB / 322.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.02472, allocations: 51 kB / 322.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 3.566e-06/0.02473, allocations: 0 / 322.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=115): time 0.005575/0.0303, allocations: 3.938 MB / 326.4 MB, free: 11.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.03034, allocations: 89.77 kB / 326.4 MB, free: 11.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.03081, allocations: 0.5497 MB / 327 MB, free: 11.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.03085, allocations: 41.7 kB / 327 MB, free: 11.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.03104, allocations: 449 kB / 327.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.03124, allocations: 412.4 kB / 327.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.03142, allocations: 175 kB / 328.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.03156, allocations: 398.7 kB / 328.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/0.03207, allocations: 378.4 kB / 328.8 MB, free: 9.359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005529/0.03263, allocations: 0.5043 MB / 329.3 MB, free: 8.816 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000999/0.03363, allocations: 0.8857 MB / 330.2 MB, free: 7.902 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.03363, allocations: 0 / 330.2 MB, free: 7.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001372/0.035, allocations: 1.19 MB / 331.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.03502, allocations: 7.938 kB / 331.4 MB, free: 6.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.03503, allocations: 7.938 kB / 331.4 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.03527, allocations: 134.5 kB / 331.5 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/0.0358, allocations: 247.7 kB / 331.8 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.03824, allocations: 4.572 MB / 336.4 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.03861, allocations: 51.98 kB / 336.4 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.03866, allocations: 48.03 kB / 336.4 MB, free: 1.32 MB / 314.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.0003342/0.03899, allocations: 273.7 kB / 336.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.03909, allocations: 87.44 kB / 336.8 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009254/0.04001, allocations: 0.7678 MB / 337.6 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.04002, allocations: 12 kB / 337.6 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.04003, allocations: 128 / 337.6 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.04004, allocations: 7.984 kB / 337.6 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.04258, allocations: 2.21 MB / 339.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.04259, allocations: 0 / 339.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.04303, allocations: 207.7 kB / 340 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002415/0.04327, allocations: 151.4 kB / 340.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.04332, allocations: 31.92 kB / 340.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.04577, allocations: 5.462 MB / 345.6 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.04577, allocations: 0 / 345.6 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.04779, allocations: 1.739 MB / 347.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.04792, allocations: 87.48 kB / 347.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.04798, allocations: 23.94 kB / 347.5 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.04826, allocations: 56.08 kB / 347.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.04839, allocations: 84.44 kB / 347.6 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.04842, allocations: 39.92 kB / 347.7 MB, free: 5.555 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003397/0.04876, allocations: 386.8 kB / 348 MB, free: 5.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04876, allocations: 0 / 348 MB, free: 5.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006381/0.0494, allocations: 256 kB / 348.3 MB, free: 4.93 MB / 330.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.0001577/0.04956, allocations: 139.1 kB / 348.4 MB, free: 4.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.05102, allocations: 1.295 MB / 349.7 MB, free: 3.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.05102, allocations: 0 / 349.7 MB, free: 3.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007903/0.05181, allocations: 0.9636 MB / 350.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005991/0.05241, allocations: 168.1 kB / 350.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.05483, allocations: 2.024 MB / 352.9 MB, free: 212 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.131/0.1859, allocations: 437.7 kB / 353.3 MB, free: 59.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/0.1863, allocations: 89.59 kB / 353.4 MB, free: 59.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.893e-06/0.1863, allocations: 0.5312 kB / 353.4 MB, free: 59.55 MB / 330.7 MB Notification: Performance of Templates: time 0.0252/0.2115, allocations: 29.46 MB / 382.9 MB, free: 40.14 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.09091679006815]