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.001532/0.001532, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.001569/0.001569, allocations: 188.3 kB / 21.39 MB, free: 1.688 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.451/1.451, allocations: 225.6 MB / 249.8 MB, free: 3.609 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 0.001638/0.001638, allocations: 47.92 kB / 366.8 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1045, allocations: 52.15 MB / 418.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008494/0.113, allocations: 6.338 MB / 425.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.1169, allocations: 1.85 MB / 427.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006869/0.1176, allocations: 19.94 kB / 427.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007024/0.1183, allocations: 214.1 kB / 427.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.1194, allocations: 404.8 kB / 427.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008183/0.1202, allocations: 383.5 kB / 428.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.122, allocations: 1.483 MB / 429.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005788/0.1226, allocations: 353.4 kB / 430 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007195/0.1233, allocations: 0.549 MB / 430.5 MB, free: 488 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000772/0.1241, allocations: 0.5991 MB / 431.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.1243, allocations: 160 kB / 431.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.1245, allocations: 156 kB / 431.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.1248, allocations: 299.1 kB / 431.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006321/0.1254, allocations: 0.6456 MB / 432.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.1274, allocations: 1.853 MB / 434.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1274, allocations: 0 / 434.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1274, allocations: 0 / 434.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.1274, allocations: 0 / 434.2 MB, free: 12.77 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003058/0.1305, allocations: 1.483 MB / 435.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1305, allocations: 11.97 kB / 435.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.1307, allocations: 128.2 kB / 435.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.1319, allocations: 0.6772 MB / 436.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.068e-05/0.132, allocations: 74.38 kB / 436.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.1322, allocations: 104.3 kB / 436.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.1341, allocations: 1.002 MB / 437.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.1342, allocations: 11.92 kB / 437.7 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.1343, allocations: 40 kB / 437.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.1343, allocations: 24 kB / 437.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.1363, allocations: 0.864 MB / 438.6 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005276/0.1416, allocations: 3.298 MB / 441.9 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.1431, allocations: 0.7713 MB / 442.7 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009281/0.144, allocations: 440.4 kB / 443.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.366e-05/0.1441, allocations: 20.39 kB / 443.1 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.1441, allocations: 47.12 kB / 443.2 MB, free: 3.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.146e-06/0.1441, allocations: 0 / 443.2 MB, free: 3.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.2181/0.3623, allocations: 4.315 MB / 447.5 MB, free: 29.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3623, allocations: 90.56 kB / 447.6 MB, free: 29.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007052/0.363, allocations: 0.6006 MB / 448.2 MB, free: 29.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.636e-05/0.3631, allocations: 43.2 kB / 448.2 MB, free: 29.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.3633, allocations: 442.6 kB / 448.7 MB, free: 29.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.3636, allocations: 413.3 kB / 449.1 MB, free: 28.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.3639, allocations: 182.7 kB / 449.2 MB, free: 28.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.364, allocations: 393.4 kB / 449.6 MB, free: 28.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008105/0.3648, allocations: 382.9 kB / 450 MB, free: 28.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008235/0.3656, allocations: 0.5094 MB / 450.5 MB, free: 28.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.3671, allocations: 0.8833 MB / 451.4 MB, free: 28.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3671, allocations: 2.406 kB / 451.4 MB, free: 28.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002285/0.3694, allocations: 1.191 MB / 452.6 MB, free: 28.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3694, allocations: 6.625 kB / 452.6 MB, free: 28.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3694, allocations: 3.766 kB / 452.6 MB, free: 28.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.3698, allocations: 127.9 kB / 452.7 MB, free: 28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.3709, allocations: 249.1 kB / 453 MB, free: 27.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/0.3739, allocations: 4.977 MB / 457.9 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008719/0.3748, allocations: 54.56 kB / 458 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.3749, allocations: 38.12 kB / 458 MB, free: 23.19 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 (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.0005119/0.3754, allocations: 276.8 kB / 458.3 MB, free: 22.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.3756, allocations: 97.34 kB / 458.4 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.3773, allocations: 0.7674 MB / 459.2 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3773, allocations: 12.84 kB / 459.2 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.3773, allocations: 2.703 kB / 459.2 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.3773, allocations: 6.844 kB / 459.2 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/0.3814, allocations: 2.649 MB / 461.8 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.3814, allocations: 1.156 kB / 461.8 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/0.3823, allocations: 199.5 kB / 462 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/0.3827, allocations: 162.3 kB / 462.2 MB, free: 21.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/0.3828, allocations: 27.19 kB / 462.2 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00308/0.3859, allocations: 5.985 MB / 468.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.3859, allocations: 1.922 kB / 468.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.389, allocations: 1.745 MB / 470 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.3892, allocations: 165.1 kB / 470.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.3893, allocations: 26.53 kB / 470.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/0.3899, allocations: 45.81 kB / 470.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.3901, allocations: 81.91 kB / 470.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.3901, allocations: 39.25 kB / 470.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005223/0.3907, allocations: 439.7 kB / 470.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3907, allocations: 0 / 470.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009274/0.3916, allocations: 256.1 kB / 471 MB, free: 13.85 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 (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.0001576/0.3917, allocations: 142 kB / 471.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.394, allocations: 1.302 MB / 472.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.394, allocations: 5.25 kB / 472.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.3953, allocations: 0.959 MB / 473.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009707/0.3962, allocations: 181.9 kB / 473.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.3997, allocations: 2.207 MB / 475.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.4002, allocations: 1.022 MB / 476.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.4006, allocations: 86.56 kB / 476.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4006, allocations: 0 / 476.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of Templates: time 0.03125/0.4318, allocations: 29.27 MB / 0.4943 GB, free: 4.457 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.349638022948056]