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.001828/0.001828, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002181/0.002181, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.49/1.49, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002027/0.002027, allocations: 67.89 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2452, allocations: 53.4 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.00793/0.2531, allocations: 5.719 MB / 438.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003849/0.2569, allocations: 1.827 MB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.2576, allocations: 23.88 kB / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.2583, allocations: 214.1 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.2594, allocations: 420.8 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.2601, allocations: 379.5 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.2618, allocations: 1.503 MB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005338/0.2623, allocations: 321.9 kB / 442.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007778/0.2631, allocations: 0.5801 MB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.2638, allocations: 0.5327 MB / 443.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.264, allocations: 156 kB / 444 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.2643, allocations: 172 kB / 444.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.2645, allocations: 307 kB / 444.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005255/0.2651, allocations: 0.5368 MB / 445 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.267, allocations: 1.903 MB / 446.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.267, allocations: 0 / 446.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.267, allocations: 4 kB / 446.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.267, allocations: 0 / 446.9 MB, free: 7.91 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.002909/0.2699, allocations: 1.396 MB / 448.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.27, allocations: 15.98 kB / 448.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005428/0.2705, allocations: 156.1 kB / 448.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.2718, allocations: 0.6384 MB / 449.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.48e-05/0.2719, allocations: 78 kB / 449.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.272, allocations: 96 kB / 449.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.2738, allocations: 1.024 MB / 450.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.2739, allocations: 3.953 kB / 450.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-05/0.274, allocations: 40 kB / 450.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.274, allocations: 24 kB / 450.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.2756, allocations: 0.7937 MB / 451.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00513/0.2807, allocations: 2.716 MB / 453.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.2821, allocations: 0.7621 MB / 454.7 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/0.2828, allocations: 422.1 kB / 455.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.2829, allocations: 12.5 kB / 455.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.2829, allocations: 51.56 kB / 455.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.765e-06/0.2829, allocations: 0 / 455.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008927/0.2918, allocations: 3.806 MB / 459 MB, free: 11.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.2919, allocations: 89.77 kB / 459 MB, free: 11.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008132/0.2927, allocations: 0.581 MB / 459.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.2928, allocations: 45.7 kB / 459.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.2932, allocations: 453 kB / 460.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/0.2935, allocations: 416.4 kB / 460.5 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/0.2938, allocations: 190.9 kB / 460.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.2941, allocations: 390.8 kB / 461.1 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007148/0.2948, allocations: 354.4 kB / 461.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008406/0.2956, allocations: 488.6 kB / 461.9 MB, free: 8.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.2972, allocations: 0.851 MB / 462.8 MB, free: 7.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2972, allocations: 3.938 kB / 462.8 MB, free: 7.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002227/0.2994, allocations: 1.142 MB / 463.9 MB, free: 6.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2994, allocations: 10.5 kB / 463.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2994, allocations: 4 kB / 463.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004197/0.2999, allocations: 130.7 kB / 464 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009768/0.3008, allocations: 235.6 kB / 464.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00415/0.305, allocations: 4.578 MB / 468.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/0.3057, allocations: 39.92 kB / 468.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.741e-05/0.3058, allocations: 39.98 kB / 468.9 MB, free: 1.168 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.0004966/0.3063, allocations: 297.6 kB / 469.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.3065, allocations: 91.44 kB / 469.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.308, allocations: 0.737 MB / 470 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.308, allocations: 15.94 kB / 470.1 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.308, allocations: 4 kB / 470.1 MB, free: 0 / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-05/0.3081, allocations: 8.031 kB / 470.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003989/0.3121, allocations: 2.156 MB / 472.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3121, allocations: 4 kB / 472.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008909/0.313, allocations: 199.7 kB / 472.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/0.3134, allocations: 155.4 kB / 472.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.3135, allocations: 24 kB / 472.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004899/0.3184, allocations: 5.469 MB / 478.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3184, allocations: 4.062 kB / 478.1 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.3214, allocations: 1.662 MB / 479.7 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.3219, allocations: 171.4 kB / 479.9 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.322, allocations: 27.94 kB / 479.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.3225, allocations: 35.98 kB / 480 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.3227, allocations: 84.48 kB / 480.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.3227, allocations: 32 kB / 480.1 MB, free: 5.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005833/0.3233, allocations: 414.8 kB / 480.5 MB, free: 5.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3233, allocations: 0 / 480.5 MB, free: 5.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009543/0.3243, allocations: 256 kB / 480.7 MB, free: 4.816 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.0001984/0.3245, allocations: 135.2 kB / 480.9 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.3267, allocations: 1.235 MB / 482.1 MB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3267, allocations: 0 / 482.1 MB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.3281, allocations: 0.9355 MB / 483 MB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3292, allocations: 197.5 kB / 483.2 MB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.3332, allocations: 2.22 MB / 485.5 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.3337, allocations: 450.3 kB / 485.9 MB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.334, allocations: 87.41 kB / 486 MB, free: 15.39 MB / 398.1 MB Notification: Performance of SimCode: time 9.31e-07/0.334, allocations: 0 / 486 MB, free: 15.39 MB / 398.1 MB Notification: Performance of Templates: time 0.03621/0.3702, allocations: 30.39 MB / 0.5043 GB, free: 0.9922 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/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: 9.562048667110503]