Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001491/0.001491, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001592/0.001592, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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=5000,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.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 59.91 kB / 374.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.111, allocations: 53.32 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.00877/0.1198, allocations: 6.472 MB / 434 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.1237, allocations: 1.913 MB / 435.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005377/0.1242, allocations: 23.88 kB / 435.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.1248, allocations: 218 kB / 436.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009489/0.1258, allocations: 424.8 kB / 436.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007327/0.1265, allocations: 383.4 kB / 436.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.1282, allocations: 1.495 MB / 438.4 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005831/0.1288, allocations: 349.5 kB / 438.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008802/0.1296, allocations: 0.584 MB / 439.3 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007643/0.1304, allocations: 0.6107 MB / 439.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.1306, allocations: 160 kB / 440.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.1309, allocations: 164 kB / 440.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.1311, allocations: 303.1 kB / 440.5 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006633/0.1318, allocations: 0.6611 MB / 441.2 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.1339, allocations: 1.896 MB / 443.1 MB, free: 4.609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1339, allocations: 0 / 443.1 MB, free: 4.609 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1339, allocations: 0 / 443.1 MB, free: 4.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.1339, allocations: 0 / 443.1 MB, free: 4.609 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00312/0.137, allocations: 1.468 MB / 444.6 MB, free: 3.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1371, allocations: 12.03 kB / 444.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/0.1376, allocations: 156.1 kB / 444.7 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.1388, allocations: 0.6961 MB / 445.4 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.1389, allocations: 78 kB / 445.5 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.1391, allocations: 104 kB / 445.6 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.1408, allocations: 0.9662 MB / 446.6 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.1409, allocations: 11.89 kB / 446.6 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.702e-05/0.141, allocations: 40 kB / 446.6 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.141, allocations: 24 kB / 446.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.1426, allocations: 0.8016 MB / 447.4 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2284/0.371, allocations: 3.305 MB / 450.7 MB, free: 22.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.3729, allocations: 0.7459 MB / 451.5 MB, free: 22.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.3739, allocations: 409.2 kB / 451.9 MB, free: 22.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.735e-05/0.374, allocations: 12.55 kB / 451.9 MB, free: 22.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.374, allocations: 46.44 kB / 451.9 MB, free: 22.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 5.059e-06/0.374, allocations: 0 / 451.9 MB, free: 22.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.01335/0.3874, allocations: 4.21 MB / 456.2 MB, free: 19.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.3874, allocations: 92.39 kB / 456.2 MB, free: 19.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.3889, allocations: 0.6372 MB / 456.9 MB, free: 19.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/0.3889, allocations: 47.08 kB / 456.9 MB, free: 19.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.3893, allocations: 439.7 kB / 457.4 MB, free: 19.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004266/0.3897, allocations: 429.9 kB / 457.8 MB, free: 18.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005441/0.3903, allocations: 191.5 kB / 458 MB, free: 18.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3905, allocations: 398.5 kB / 458.4 MB, free: 18.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.3915, allocations: 349.5 kB / 458.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.3927, allocations: 488.3 kB / 459.2 MB, free: 17.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.3948, allocations: 0.8506 MB / 460 MB, free: 17.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/0.3948, allocations: 1.188 kB / 460 MB, free: 17.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00296/0.3978, allocations: 1.15 MB / 461.2 MB, free: 16.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.3978, allocations: 5.375 kB / 461.2 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.3978, allocations: 4.438 kB / 461.2 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005667/0.3984, allocations: 133.2 kB / 461.3 MB, free: 16.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.3997, allocations: 239.9 kB / 461.5 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003988/0.4037, allocations: 4.98 MB / 466.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009992/0.4047, allocations: 36.44 kB / 466.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.4049, allocations: 40.09 kB / 466.6 MB, free: 12.03 MB / 366.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 (132): * Single equations (assignments): 129 * 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.0006618/0.4055, allocations: 287.5 kB / 466.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/0.4059, allocations: 96.64 kB / 467 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.4079, allocations: 0.7371 MB / 467.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.408, allocations: 17.33 kB / 467.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/0.408, allocations: 4.188 kB / 467.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/0.408, allocations: 9.25 kB / 467.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/0.4136, allocations: 2.608 MB / 470.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.4136, allocations: 1.375 kB / 470.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.4147, allocations: 196.1 kB / 470.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/0.4153, allocations: 155.7 kB / 470.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.4154, allocations: 31.05 kB / 470.7 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004046/0.4194, allocations: 5.986 MB / 476.7 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4194, allocations: 5.156 kB / 476.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/0.4235, allocations: 1.664 MB / 478.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007647/0.4243, allocations: 260.1 kB / 478.6 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.4245, allocations: 23.84 kB / 478.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007721/0.4252, allocations: 35.05 kB / 478.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/0.4255, allocations: 81.03 kB / 478.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.4256, allocations: 33.31 kB / 478.8 MB, free: 2.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008926/0.4265, allocations: 460.5 kB / 479.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4265, allocations: 2.906 kB / 479.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001385/0.4279, allocations: 259.2 kB / 479.5 MB, free: 2.531 MB / 366.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 (108): * Single equations (assignments): 104 * 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.0002237/0.4281, allocations: 139 kB / 479.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.4308, allocations: 1.227 MB / 480.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4308, allocations: 4.062 kB / 480.9 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.4325, allocations: 0.9391 MB / 481.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.4341, allocations: 215.9 kB / 482 MB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.4394, allocations: 2.213 MB / 484.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.4405, allocations: 1.036 MB / 485.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/0.441, allocations: 91.12 kB / 485.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.441, allocations: 3.938 kB / 485.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of Templates: time 0.04472/0.4857, allocations: 30.18 MB / 0.5035 GB, free: 5.688 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.700178185012192]