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.001682/0.001682, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001678/0.001678, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.416/1.416, allocations: 230.4 MB / 255.4 MB, free: 15.01 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.00187/0.00187, allocations: 71.83 kB / 374.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.092/0.09387, allocations: 53.31 MB / 428.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.1864/0.2802, allocations: 6.469 MB / 434.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.283, allocations: 1.909 MB / 436.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004062/0.2834, allocations: 19.72 kB / 436.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.2838, allocations: 221.4 kB / 436.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007659/0.2846, allocations: 427.2 kB / 437.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.2853, allocations: 370.7 kB / 437.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.2866, allocations: 1.509 MB / 439 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004765/0.2871, allocations: 352.2 kB / 439.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007659/0.2879, allocations: 0.5623 MB / 439.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.2885, allocations: 0.6009 MB / 440.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.2887, allocations: 159.2 kB / 440.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.289, allocations: 171.2 kB / 440.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.2892, allocations: 314.3 kB / 441.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005022/0.2897, allocations: 0.6551 MB / 441.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.2916, allocations: 1.895 MB / 443.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2916, allocations: 0.5625 kB / 443.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2916, allocations: 0 / 443.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.29e-05/0.2917, allocations: 1.062 kB / 443.6 MB, free: 4.211 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.002875/0.2946, allocations: 1.471 MB / 445.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2946, allocations: 8.625 kB / 445.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005509/0.2951, allocations: 164.3 kB / 445.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.2963, allocations: 0.6924 MB / 446 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.2964, allocations: 74.38 kB / 446 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.2965, allocations: 97.66 kB / 446.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.2982, allocations: 0.9765 MB / 447.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.2982, allocations: 6.938 kB / 447.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-05/0.2983, allocations: 40.56 kB / 447.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.2983, allocations: 24.12 kB / 447.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2997, allocations: 0.7974 MB / 448 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/0.3046, allocations: 3.32 MB / 451.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.3059, allocations: 0.7557 MB / 452.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007218/0.3066, allocations: 399.3 kB / 452.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.419e-05/0.3067, allocations: 16.47 kB / 452.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3067, allocations: 48.75 kB / 452.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.535e-06/0.3067, allocations: 4 kB / 452.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.009107/0.3158, allocations: 4.208 MB / 456.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.3159, allocations: 89.89 kB / 456.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008979/0.3168, allocations: 0.6346 MB / 457.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.3169, allocations: 45.39 kB / 457.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.3172, allocations: 449.4 kB / 457.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.3176, allocations: 431.5 kB / 458.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/0.3179, allocations: 187.9 kB / 458.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.3181, allocations: 394 kB / 458.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.3188, allocations: 347.4 kB / 459.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008066/0.3196, allocations: 491 kB / 459.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.3211, allocations: 0.8547 MB / 460.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.3211, allocations: 3.938 kB / 460.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002205/0.3233, allocations: 1.147 MB / 461.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3233, allocations: 7.125 kB / 461.8 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3233, allocations: 1.781 kB / 461.8 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/0.3238, allocations: 131.7 kB / 461.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009847/0.3247, allocations: 242 kB / 462.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/0.329, allocations: 4.975 MB / 467.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008695/0.3299, allocations: 37.42 kB / 467.1 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-05/0.33, allocations: 39.23 kB / 467.2 MB, free: 4.555 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.0005534/0.3305, allocations: 286.9 kB / 467.4 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.3307, allocations: 100.9 kB / 467.5 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.3323, allocations: 0.7419 MB / 468.3 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.3323, allocations: 12.34 kB / 468.3 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.3323, allocations: 3.594 kB / 468.3 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.3323, allocations: 7.969 kB / 468.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.3365, allocations: 2.604 MB / 470.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3365, allocations: 5.438 kB / 470.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008443/0.3374, allocations: 195.5 kB / 471.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/0.3378, allocations: 158 kB / 471.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/0.3379, allocations: 28.17 kB / 471.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004976/0.3429, allocations: 5.987 MB / 477.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.3429, allocations: 6.094 kB / 477.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/0.3458, allocations: 1.664 MB / 479 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/0.3463, allocations: 256.1 kB / 479.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.3465, allocations: 24.52 kB / 479.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.347, allocations: 34.3 kB / 479.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.3472, allocations: 79.8 kB / 479.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.3473, allocations: 34.95 kB / 479.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006291/0.3479, allocations: 459.9 kB / 479.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3479, allocations: 4 kB / 479.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009884/0.3489, allocations: 258.5 kB / 480.1 MB, free: 10.09 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.0001912/0.3491, allocations: 137.2 kB / 480.2 MB, free: 9.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002236/0.3513, allocations: 1.232 MB / 481.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3513, allocations: 0 / 481.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.3527, allocations: 0.9416 MB / 482.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.3539, allocations: 203.7 kB / 482.6 MB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.3579, allocations: 2.223 MB / 484.8 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.3586, allocations: 1.04 MB / 485.8 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.359, allocations: 91.34 kB / 485.9 MB, free: 4.949 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.359, allocations: 0 / 485.9 MB, free: 4.949 MB / 382.1 MB Notification: Performance of Templates: time 0.03713/0.3961, allocations: 30.18 MB / 0.504 GB, free: 6.777 MB / 414.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: 9.03241399093531]