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.001553/0.001553, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001774/0.001774, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.552/1.552, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001577/0.001577, allocations: 51.94 kB / 373.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1097, allocations: 53.33 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.2811/0.3907, allocations: 6.452 MB / 433.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.3955, allocations: 1.92 MB / 435.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006884/0.3962, allocations: 20.31 kB / 435.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007872/0.3969, allocations: 224.8 kB / 435.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.3982, allocations: 428.3 kB / 435.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3993, allocations: 371.5 kB / 436.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.4013, allocations: 1.505 MB / 437.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007476/0.402, allocations: 352.8 kB / 438 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.4031, allocations: 0.574 MB / 438.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.4041, allocations: 0.6052 MB / 439.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.4044, allocations: 159.1 kB / 439.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004028/0.4048, allocations: 170.8 kB / 439.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.4051, allocations: 305.1 kB / 439.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007474/0.4058, allocations: 0.6604 MB / 440.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002957/0.4088, allocations: 1.896 MB / 442.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4088, allocations: 0.7031 kB / 442.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4088, allocations: 5.219 kB / 442.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.8e-05/0.4088, allocations: 0 / 442.4 MB, free: 4.172 MB / 350.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.004456/0.4133, allocations: 1.466 MB / 443.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/0.4133, allocations: 9.656 kB / 443.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.4144, allocations: 154.3 kB / 444 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.4162, allocations: 0.7018 MB / 444.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.4163, allocations: 75.81 kB / 444.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.4166, allocations: 97.27 kB / 444.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.4194, allocations: 0.9766 MB / 445.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/0.4194, allocations: 13.86 kB / 445.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.4195, allocations: 37.86 kB / 445.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.4196, allocations: 23.75 kB / 446 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.422, allocations: 0.8009 MB / 446.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008238/0.4303, allocations: 3.318 MB / 450.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.4327, allocations: 0.7512 MB / 450.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.4341, allocations: 395.4 kB / 451.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.681e-05/0.4342, allocations: 24.02 kB / 451.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.4343, allocations: 40.08 kB / 451.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 4.459e-06/0.4343, allocations: 1.094 kB / 451.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.01698/0.4513, allocations: 4.214 MB / 455.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.4514, allocations: 89.11 kB / 455.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.4529, allocations: 0.6364 MB / 456.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.453, allocations: 41.7 kB / 456.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005391/0.4536, allocations: 453.8 kB / 456.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005962/0.4542, allocations: 426.2 kB / 457.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005159/0.4547, allocations: 187.9 kB / 457.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003349/0.455, allocations: 398.4 kB / 457.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.4562, allocations: 343.1 kB / 458 MB, free: 11.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.4576, allocations: 491.8 kB / 458.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.4605, allocations: 0.8491 MB / 459.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.4605, allocations: 9.156 kB / 459.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004241/0.4647, allocations: 1.148 MB / 460.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.4648, allocations: 11.08 kB / 460.5 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.4648, allocations: 2.188 kB / 460.5 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007972/0.4656, allocations: 127.4 kB / 460.6 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.4676, allocations: 237.4 kB / 460.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007044/0.4746, allocations: 4.982 MB / 465.9 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.476, allocations: 31.95 kB / 465.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.4762, allocations: 44.77 kB / 465.9 MB, free: 4.512 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.000788/0.477, allocations: 277.5 kB / 466.2 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.4773, allocations: 101.2 kB / 466.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.4797, allocations: 0.7432 MB / 467 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.4797, allocations: 12.62 kB / 467.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.4797, allocations: 8.531 kB / 467.1 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/0.4798, allocations: 7.969 kB / 467.1 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007006/0.4868, allocations: 2.605 MB / 469.7 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.4868, allocations: 13.78 kB / 469.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.4882, allocations: 196 kB / 469.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007309/0.489, allocations: 154.8 kB / 470 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.4891, allocations: 29.02 kB / 470.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007571/0.4966, allocations: 5.99 MB / 476 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4966, allocations: 1.906 kB / 476.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005017/0.5017, allocations: 1.662 MB / 477.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008883/0.5026, allocations: 254.3 kB / 478 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.5028, allocations: 21.84 kB / 478 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009899/0.5037, allocations: 33.45 kB / 478 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.504, allocations: 85.77 kB / 478.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.5041, allocations: 33.2 kB / 478.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.5052, allocations: 459.6 kB / 478.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5052, allocations: 1.594 kB / 478.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001708/0.5069, allocations: 258.7 kB / 478.8 MB, free: 10.04 MB / 382.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.0002992/0.5072, allocations: 138.8 kB / 479 MB, free: 9.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003514/0.5108, allocations: 1.241 MB / 480.2 MB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5108, allocations: 0 / 480.2 MB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002262/0.513, allocations: 0.9336 MB / 481.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.5151, allocations: 203.6 kB / 481.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006315/0.5214, allocations: 2.185 MB / 483.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.5225, allocations: 1.04 MB / 484.6 MB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001003/0.5235, allocations: 124 kB / 484.7 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.5239, allocations: 83.41 kB / 484.8 MB, free: 4.789 MB / 382.1 MB Notification: Performance of SimCode: time 1.383e-06/0.5239, allocations: 0 / 484.8 MB, free: 4.789 MB / 382.1 MB Notification: Performance of Templates: time 0.04621/0.5701, allocations: 12.82 MB / 497.6 MB, free: 8.078 MB / 398.1 MB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/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: 5.562412824481726]