Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007353/0.0007353, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001737, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008445/0.0008445, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001943, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8094/0.8094, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1399/0.9493, allocations: 52.5 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.093e-06/1.093e-06, allocations: 0 / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.899e-06/1.099e-05, allocations: 2.312 kB / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.004645/0.004656, allocations: 6.168 MB / 245.9 MB, free: 192 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.0069, allocations: 1.895 MB / 247.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.00719, allocations: 24.5 kB / 247.8 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.007496, allocations: 218.6 kB / 248 MB, free: 14.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000547/0.008043, allocations: 420.9 kB / 248.4 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.008442, allocations: 381.9 kB / 248.8 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009191/0.009361, allocations: 1.523 MB / 250.3 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.009681, allocations: 340.3 kB / 250.7 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006852/0.01037, allocations: 0.9463 MB / 251.6 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.01077, allocations: 474.7 kB / 252.1 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.0109, allocations: 152 kB / 252.2 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.01103, allocations: 156 kB / 252.4 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.01115, allocations: 232.3 kB / 252.6 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.01139, allocations: 375.4 kB / 253 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005986/0.01199, allocations: 0.8726 MB / 253.9 MB, free: 8.211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.012, allocations: 3.938 kB / 253.9 MB, free: 8.207 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.012, allocations: 0.8125 kB / 253.9 MB, free: 8.207 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.01201, allocations: 0 / 253.9 MB, free: 8.207 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.001338/0.01335, allocations: 1.552 MB / 255.4 MB, free: 6.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.416e-05/0.01338, allocations: 8.031 kB / 255.4 MB, free: 6.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.01351, allocations: 156.8 kB / 255.6 MB, free: 6.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.01399, allocations: 425 kB / 256 MB, free: 6.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.01403, allocations: 74.38 kB / 256.1 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.01411, allocations: 100.4 kB / 256.2 MB, free: 5.852 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.01477, allocations: 0.7401 MB / 256.9 MB, free: 5.078 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.01479, allocations: 8.125 kB / 256.9 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.01483, allocations: 40.38 kB / 256.9 MB, free: 5.031 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.01485, allocations: 27.94 kB / 257 MB, free: 5.004 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.01518, allocations: 287.9 kB / 257.3 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.01712, allocations: 1.963 MB / 259.2 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.01753, allocations: 451.7 kB / 259.7 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.01771, allocations: 193.6 kB / 259.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.01775, allocations: 24.34 kB / 259.9 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.01778, allocations: 47 kB / 259.9 MB, free: 1.965 MB / 250.7 MB Notification: Performance of pre-optimization done (n=90): time 1.954e-06/0.01778, allocations: 0 / 259.9 MB, free: 1.965 MB / 250.7 MB Notification: Performance of matching and sorting (n=113): time 0.003276/0.02105, allocations: 2.584 MB / 262.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.02109, allocations: 93.77 kB / 262.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.0214, allocations: 471 kB / 263.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.02143, allocations: 45.7 kB / 263.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.02156, allocations: 386.2 kB / 263.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.02173, allocations: 404.4 kB / 263.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.02189, allocations: 182.8 kB / 264 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.02199, allocations: 398.6 kB / 264.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.02212, allocations: 110.6 kB / 264.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.02233, allocations: 265.1 kB / 264.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.02273, allocations: 477.6 kB / 265.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.02273, allocations: 4 kB / 265.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0005677/0.0233, allocations: 0.5781 MB / 265.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.02331, allocations: 4 kB / 265.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.02332, allocations: 7.984 kB / 265.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.02356, allocations: 114.7 kB / 266 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.02413, allocations: 295.5 kB / 266.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.02581, allocations: 4.069 MB / 270.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.02604, allocations: 39.97 kB / 270.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.02607, allocations: 31.94 kB / 270.4 MB, free: 6.953 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.0001595/0.02623, allocations: 171.7 kB / 270.6 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.409e-05/0.02633, allocations: 91.95 kB / 270.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/0.02677, allocations: 438.4 kB / 271.1 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.02678, allocations: 12 kB / 271.1 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.02678, allocations: 3.938 kB / 271.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.02679, allocations: 7.984 kB / 271.1 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.02808, allocations: 1.273 MB / 272.4 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.02808, allocations: 128 / 272.4 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.02856, allocations: 243.8 kB / 272.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.02862, allocations: 71.44 kB / 272.7 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003017/0.02893, allocations: 151.2 kB / 272.8 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.02896, allocations: 31.98 kB / 272.9 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.03082, allocations: 4.862 MB / 277.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.03082, allocations: 4 kB / 277.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007543/0.03157, allocations: 0.8894 MB / 278.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.03163, allocations: 27.98 kB / 278.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.03186, allocations: 35.98 kB / 278.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.03195, allocations: 80.5 kB / 278.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.03198, allocations: 19.98 kB / 278.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.03212, allocations: 216.4 kB / 279 MB, free: 13.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03212, allocations: 0 / 279 MB, free: 13.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004592/0.03258, allocations: 252 kB / 279.2 MB, free: 13.63 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.0001172/0.0327, allocations: 127.5 kB / 279.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007071/0.03341, allocations: 0.8748 MB / 280.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.119e-05/0.03343, allocations: 16.09 kB / 280.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.03395, allocations: 0.8343 MB / 281.1 MB, free: 11.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008718/0.03483, allocations: 1.681 MB / 282.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.03852, allocations: 1.838 MB / 284.6 MB, free: 7.812 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.03865, allocations: 214.4 kB / 284.8 MB, free: 7.582 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002681/0.03892, allocations: 115.4 kB / 284.9 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.03925, allocations: 245.2 kB / 285.2 MB, free: 7.227 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.03925, allocations: 3.938 kB / 285.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of Templates: time 0.01539/0.05465, allocations: 13.85 MB / 299 MB, free: 9.617 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.6293738270178437]