Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008062/0.0008062, allocations: 84.34 kB / 21.43 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004657/0.004657, allocations: 154.2 kB / 24.7 MB, free: 9.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.833/0.833, allocations: 177 MB / 204.9 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.243e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.004589/0.004611, allocations: 5.719 MB / 331.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.006611, allocations: 1.843 MB / 333.3 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.006879, allocations: 23.88 kB / 333.4 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.007277, allocations: 218 kB / 333.6 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.007796, allocations: 432.5 kB / 334 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.008217, allocations: 379.4 kB / 334.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008775/0.009094, allocations: 1.56 MB / 335.9 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.009451, allocations: 321.9 kB / 336.2 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.01006, allocations: 0.8694 MB / 337.1 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.01047, allocations: 462.6 kB / 337.6 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.01058, allocations: 163.9 kB / 337.7 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.01073, allocations: 168 kB / 337.9 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.01088, allocations: 311 kB / 338.2 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.01115, allocations: 466.9 kB / 338.6 MB, free: 2.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.01234, allocations: 1.943 MB / 340.6 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01234, allocations: 0 / 340.6 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01234, allocations: 0 / 340.6 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.01235, allocations: 0 / 340.6 MB, free: 0.5273 MB / 298.7 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.001554/0.01391, allocations: 1.382 MB / 342 MB, free: 15.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.01394, allocations: 15.98 kB / 342 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002902/0.01423, allocations: 156.1 kB / 342.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007405/0.01497, allocations: 0.6264 MB / 342.8 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.01502, allocations: 77 kB / 342.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-05/0.01512, allocations: 104 kB / 342.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.01618, allocations: 1.024 MB / 344 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.01621, allocations: 7.953 kB / 344 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.01627, allocations: 44 kB / 344 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.01628, allocations: 24 kB / 344 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/0.01722, allocations: 0.7937 MB / 344.8 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.02, allocations: 2.705 MB / 347.5 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008298/0.02083, allocations: 0.7699 MB / 348.3 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/0.02127, allocations: 403 kB / 348.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.02131, allocations: 16.5 kB / 348.7 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.02134, allocations: 43 kB / 348.8 MB, free: 8.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 2.254e-06/0.02134, allocations: 4 kB / 348.8 MB, free: 8.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=119): time 0.004893/0.02624, allocations: 3.813 MB / 352.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.02628, allocations: 89.77 kB / 352.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.02678, allocations: 0.581 MB / 353.2 MB, free: 3.527 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.02683, allocations: 41.7 kB / 353.3 MB, free: 3.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.02704, allocations: 453.1 kB / 353.7 MB, free: 3.031 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.02725, allocations: 424.3 kB / 354.1 MB, free: 2.613 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.02742, allocations: 182.9 kB / 354.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.02754, allocations: 390.7 kB / 354.7 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.02797, allocations: 346.5 kB / 355 MB, free: 1.699 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.02844, allocations: 488.8 kB / 355.5 MB, free: 1.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009008/0.02935, allocations: 0.8636 MB / 356.4 MB, free: 288 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02935, allocations: 3.938 kB / 356.4 MB, free: 284 kB / 314.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001216/0.03056, allocations: 1.148 MB / 357.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.03058, allocations: 4 kB / 357.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.03059, allocations: 4 kB / 357.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.03084, allocations: 138.4 kB / 357.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.03134, allocations: 239.6 kB / 357.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.0337, allocations: 4.566 MB / 362.5 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.03397, allocations: 35.98 kB / 362.5 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.03401, allocations: 39.98 kB / 362.6 MB, free: 9.785 MB / 330.7 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.0003016/0.03431, allocations: 277.8 kB / 362.8 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.03441, allocations: 95.44 kB / 362.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008415/0.03525, allocations: 0.7448 MB / 363.7 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.03526, allocations: 12 kB / 363.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.03527, allocations: 8.109 kB / 363.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.03528, allocations: 11.98 kB / 363.7 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.03746, allocations: 2.156 MB / 365.8 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.03746, allocations: 4.062 kB / 365.9 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.03787, allocations: 191.8 kB / 366 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002417/0.03812, allocations: 163.3 kB / 366.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.03816, allocations: 27.98 kB / 366.2 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.04066, allocations: 5.451 MB / 371.7 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.04066, allocations: 4.031 kB / 371.7 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.04228, allocations: 1.658 MB / 373.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.04249, allocations: 167.4 kB / 373.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.04255, allocations: 32.05 kB / 373.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.0428, allocations: 43.98 kB / 373.6 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.0429, allocations: 84.44 kB / 373.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.04293, allocations: 31.98 kB / 373.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003235/0.04326, allocations: 414.8 kB / 374.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04326, allocations: 0 / 374.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005563/0.04381, allocations: 260 kB / 374.3 MB, free: 13.45 MB / 346.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 (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.0001517/0.04396, allocations: 138.1 kB / 374.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.04521, allocations: 1.223 MB / 375.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.04522, allocations: 0.625 kB / 375.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007309/0.04595, allocations: 0.9318 MB / 376.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.04659, allocations: 204.6 kB / 376.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.04879, allocations: 2.051 MB / 378.9 MB, free: 8.766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.04907, allocations: 450.4 kB / 379.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.04926, allocations: 92.47 kB / 379.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.04926, allocations: 3.938 kB / 379.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of Templates: time 0.01989/0.06915, allocations: 30.39 MB / 409.8 MB, free: 9.812 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 6.110230100341141]