Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001523/0.001523, allocations: 116.1 kB / 21.18 MB, free: 0.5898 MB / 14.72 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.001652/0.001652, allocations: 209.9 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2429, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008255/0.2512, allocations: 6.499 MB / 438.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.2551, allocations: 1.921 MB / 440.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005985/0.2557, allocations: 19.94 kB / 440.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006617/0.2564, allocations: 222 kB / 440.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009379/0.2573, allocations: 424.8 kB / 441.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007284/0.2581, allocations: 367.6 kB / 441.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.2596, allocations: 1.506 MB / 443 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.2601, allocations: 351.5 kB / 443.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007265/0.2608, allocations: 0.5646 MB / 443.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007558/0.2616, allocations: 0.6107 MB / 444.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.2618, allocations: 156 kB / 444.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.262, allocations: 168 kB / 444.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.2623, allocations: 311 kB / 445.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006131/0.2629, allocations: 0.6573 MB / 445.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.2648, allocations: 1.895 MB / 447.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2648, allocations: 3.938 kB / 447.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2648, allocations: 0 / 447.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.2648, allocations: 4 kB / 447.7 MB, free: 7.664 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.002809/0.2676, allocations: 1.464 MB / 449.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2677, allocations: 8.031 kB / 449.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.2682, allocations: 156.1 kB / 449.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.2695, allocations: 0.704 MB / 450 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.2696, allocations: 77.94 kB / 450.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.2698, allocations: 96 kB / 450.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.2715, allocations: 0.9662 MB / 451.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.2715, allocations: 15.94 kB / 451.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/0.2716, allocations: 40 kB / 451.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.2716, allocations: 24 kB / 451.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.2732, allocations: 0.8015 MB / 452 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005303/0.2785, allocations: 3.318 MB / 455.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.2799, allocations: 0.7552 MB / 456.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/0.2806, allocations: 399.2 kB / 456.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/0.2807, allocations: 16.5 kB / 456.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.2807, allocations: 43.75 kB / 456.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.645e-06/0.2807, allocations: 0 / 456.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.009586/0.2903, allocations: 4.212 MB / 460.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/0.2904, allocations: 93.75 kB / 460.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.2915, allocations: 0.6331 MB / 461.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.71e-05/0.2916, allocations: 45.7 kB / 461.5 MB, free: 9.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.2921, allocations: 449.1 kB / 462 MB, free: 8.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004791/0.2925, allocations: 424.3 kB / 462.4 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.2929, allocations: 190.9 kB / 462.6 MB, free: 8.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000287/0.2932, allocations: 398.7 kB / 463 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000746/0.2939, allocations: 342.5 kB / 463.3 MB, free: 7.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000883/0.2948, allocations: 496.6 kB / 463.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.2965, allocations: 0.8471 MB / 464.6 MB, free: 6.133 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.2965, allocations: 3.938 kB / 464.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00233/0.2988, allocations: 1.15 MB / 465.8 MB, free: 4.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.2988, allocations: 10.5 kB / 465.8 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.2988, allocations: 3.984 kB / 465.8 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/0.2993, allocations: 134.5 kB / 465.9 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.3003, allocations: 243.6 kB / 466.2 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/0.3053, allocations: 4.974 MB / 471.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007923/0.3061, allocations: 31.98 kB / 471.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.3061, allocations: 39.98 kB / 471.2 MB, free: 15.11 MB / 382.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.0005294/0.3067, allocations: 281.7 kB / 471.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.3068, allocations: 99.33 kB / 471.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.3084, allocations: 0.7414 MB / 472.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.3084, allocations: 12 kB / 472.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.3084, allocations: 4 kB / 472.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.3084, allocations: 7.969 kB / 472.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/0.3126, allocations: 2.611 MB / 474.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.3126, allocations: 7.938 kB / 475 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008493/0.3135, allocations: 187.8 kB / 475.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/0.3139, allocations: 163.3 kB / 475.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/0.314, allocations: 27.98 kB / 475.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005116/0.3191, allocations: 5.994 MB / 481.3 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3191, allocations: 4.031 kB / 481.3 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.322, allocations: 1.665 MB / 483 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.3224, allocations: 248.5 kB / 483.2 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3225, allocations: 24 kB / 483.3 MB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.323, allocations: 35.98 kB / 483.3 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.3232, allocations: 80.62 kB / 483.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.3232, allocations: 40.09 kB / 483.4 MB, free: 2.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006538/0.3239, allocations: 459.1 kB / 483.9 MB, free: 1.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3239, allocations: 0 / 483.9 MB, free: 1.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009125/0.3248, allocations: 260 kB / 484.1 MB, free: 1.445 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.0002039/0.325, allocations: 141.9 kB / 484.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.3271, allocations: 1.243 MB / 485.5 MB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3271, allocations: 0 / 485.5 MB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.3284, allocations: 0.9359 MB / 486.4 MB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.3294, allocations: 204.1 kB / 486.6 MB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.3333, allocations: 2.232 MB / 488.9 MB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.334, allocations: 1.037 MB / 489.9 MB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.3343, allocations: 91.41 kB / 490 MB, free: 11.41 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3343, allocations: 0 / 490 MB, free: 11.41 MB / 398.1 MB Notification: Performance of Templates: time 0.03487/0.3691, allocations: 30.17 MB / 0.508 GB, free: 13.24 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.86528382776305]