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.001343/0.001343, allocations: 77.39 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001421/0.001421, allocations: 155.5 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.411/1.411, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.383e-06/1.383e-06, allocations: 0 / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.152e-05, allocations: 2.281 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005975/0.005996, allocations: 5.606 MB / 324.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.009502, allocations: 1.77 MB / 326.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.009894, allocations: 24 kB / 326.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.01047, allocations: 206 kB / 326.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009123/0.01139, allocations: 424.5 kB / 326.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007639/0.01215, allocations: 386.2 kB / 327.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.01373, allocations: 1.54 MB / 328.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005499/0.01428, allocations: 321.5 kB / 329.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009811/0.01526, allocations: 0.845 MB / 330 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000661/0.01592, allocations: 456.6 kB / 330.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.01611, allocations: 157.9 kB / 330.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.01633, allocations: 159.6 kB / 330.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.01661, allocations: 315.9 kB / 331.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.01713, allocations: 461.8 kB / 331.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.01906, allocations: 1.904 MB / 333.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.01906, allocations: 0 / 333.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01906, allocations: 0 / 333.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.01908, allocations: 1.25 kB / 333.4 MB, free: 10.53 MB / 302.1 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.002993/0.02207, allocations: 1.388 MB / 334.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.02211, allocations: 13.52 kB / 334.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.02232, allocations: 124.4 kB / 334.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.02354, allocations: 0.6059 MB / 335.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.02362, allocations: 74.66 kB / 335.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.02377, allocations: 98.89 kB / 335.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.02572, allocations: 1.058 MB / 336.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.02575, allocations: 13.42 kB / 336.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.944e-05/0.02585, allocations: 40.62 kB / 336.8 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.02587, allocations: 27.31 kB / 336.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.02785, allocations: 0.8566 MB / 337.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004854/0.0327, allocations: 2.71 MB / 340.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.03424, allocations: 0.7695 MB / 341.2 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009519/0.03519, allocations: 435.6 kB / 341.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-05/0.03525, allocations: 24.42 kB / 341.6 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.0353, allocations: 43.06 kB / 341.7 MB, free: 4.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 2.585e-06/0.03531, allocations: 0 / 341.7 MB, free: 4.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.01017/0.04548, allocations: 3.923 MB / 345.6 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.04555, allocations: 93.75 kB / 345.7 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007586/0.04631, allocations: 0.5419 MB / 346.2 MB, free: 12 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.631e-05/0.04639, allocations: 45.7 kB / 346.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.04673, allocations: 457 kB / 346.7 MB, free: 15.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/0.04706, allocations: 400.5 kB / 347.1 MB, free: 15.11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/0.04738, allocations: 186.9 kB / 347.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.04759, allocations: 390.7 kB / 347.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009063/0.0485, allocations: 378.4 kB / 348.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.04953, allocations: 0.5159 MB / 348.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.05143, allocations: 0.878 MB / 349.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.05143, allocations: 4 kB / 349.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002591/0.05403, allocations: 1.19 MB / 350.6 MB, free: 11.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.05405, allocations: 15.88 kB / 350.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.05406, allocations: 0 / 350.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000414/0.05447, allocations: 126.5 kB / 350.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.0556, allocations: 255.6 kB / 351 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/0.06003, allocations: 4.575 MB / 355.6 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/0.06077, allocations: 48.22 kB / 355.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.06087, allocations: 52.11 kB / 355.7 MB, free: 6.117 MB / 318.1 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.0004806/0.06135, allocations: 277.6 kB / 356 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.06153, allocations: 87.48 kB / 356.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.06327, allocations: 0.7601 MB / 356.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.06329, allocations: 12 kB / 356.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.0633, allocations: 4 kB / 356.8 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.06331, allocations: 7.969 kB / 356.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004381/0.06769, allocations: 2.21 MB / 359.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.0677, allocations: 0 / 359.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009457/0.06864, allocations: 207.7 kB / 359.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/0.06911, allocations: 155.3 kB / 359.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.724e-05/0.06919, allocations: 31.92 kB / 359.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005072/0.07427, allocations: 5.462 MB / 364.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.07427, allocations: 0 / 364.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.07778, allocations: 1.735 MB / 366.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.07801, allocations: 83.47 kB / 366.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.07816, allocations: 27.98 kB / 366.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/0.07881, allocations: 51.97 kB / 366.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.07899, allocations: 76.5 kB / 366.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.07906, allocations: 31.98 kB / 366.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005432/0.0796, allocations: 390.8 kB / 367.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0796, allocations: 0 / 367.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000962/0.08057, allocations: 252 kB / 367.5 MB, free: 9.75 MB / 334.1 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.0002126/0.08078, allocations: 139 kB / 367.7 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002658/0.08344, allocations: 1.291 MB / 369 MB, free: 8.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.08344, allocations: 4 kB / 369 MB, free: 8.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.08505, allocations: 0.9601 MB / 369.9 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.08608, allocations: 185.4 kB / 370.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.08993, allocations: 2.002 MB / 372.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.09043, allocations: 440.7 kB / 372.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000484/0.09091, allocations: 115.3 kB / 372.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.09116, allocations: 76.48 kB / 372.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of SimCode: time 4.9e-07/0.09116, allocations: 0 / 372.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of Templates: time 0.02407/0.1152, allocations: 11.98 MB / 384.7 MB, free: 8.586 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.775868363678455]