Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002328/0.002328, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 8.035 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 51.92 kB / 378.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2476, allocations: 53.35 MB / 431.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008319/0.2559, allocations: 6.502 MB / 438.1 MB, free: 424 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004001/0.2599, allocations: 1.913 MB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005277/0.2604, allocations: 27.88 kB / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006117/0.261, allocations: 222 kB / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008699/0.2619, allocations: 424.8 kB / 440.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006747/0.2626, allocations: 383.4 kB / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.2641, allocations: 1.503 MB / 442.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005707/0.2647, allocations: 351.5 kB / 442.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007648/0.2654, allocations: 0.5762 MB / 443.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008078/0.2662, allocations: 0.6068 MB / 444.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.2664, allocations: 163.9 kB / 444.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.2667, allocations: 172 kB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.2669, allocations: 299.1 kB / 444.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006181/0.2675, allocations: 0.665 MB / 445.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.2695, allocations: 1.891 MB / 447.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2695, allocations: 0 / 447.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2695, allocations: 3.938 kB / 447.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.2695, allocations: 0 / 447.3 MB, free: 7.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.002883/0.2724, allocations: 1.4 MB / 448.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2725, allocations: 8.031 kB / 448.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005466/0.273, allocations: 156.1 kB / 448.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.2743, allocations: 0.6306 MB / 449.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.245e-05/0.2743, allocations: 78 kB / 449.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.2745, allocations: 96 kB / 449.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.2762, allocations: 0.9779 MB / 450.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.2763, allocations: 7.891 kB / 450.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.2764, allocations: 40 kB / 450.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.2764, allocations: 24 kB / 450.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.278, allocations: 0.7938 MB / 451.5 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005144/0.2831, allocations: 3.256 MB / 454.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.2844, allocations: 0.7495 MB / 455.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.2852, allocations: 413.1 kB / 455.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-05/0.2852, allocations: 16.42 kB / 455.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.2853, allocations: 47.69 kB / 456 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.836e-06/0.2853, allocations: 0 / 456 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008739/0.294, allocations: 3.817 MB / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.2941, allocations: 89.77 kB / 459.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.295, allocations: 0.6486 MB / 460.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/0.295, allocations: 45.7 kB / 460.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.2954, allocations: 445.1 kB / 461 MB, free: 9.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/0.2957, allocations: 428.3 kB / 461.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/0.296, allocations: 190.8 kB / 461.6 MB, free: 8.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.2963, allocations: 398.7 kB / 462 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006977/0.2969, allocations: 342.5 kB / 462.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008525/0.2978, allocations: 492.7 kB / 462.8 MB, free: 7.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.2993, allocations: 0.8549 MB / 463.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2993, allocations: 7.875 kB / 463.7 MB, free: 6.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002131/0.3014, allocations: 1.142 MB / 464.8 MB, free: 5.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3015, allocations: 4 kB / 464.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3015, allocations: 4 kB / 464.8 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004103/0.3019, allocations: 134.5 kB / 464.9 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.3029, allocations: 239.7 kB / 465.2 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/0.307, allocations: 4.666 MB / 469.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.3077, allocations: 35.98 kB / 469.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.3077, allocations: 39.98 kB / 469.9 MB, free: 15.75 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.0004557/0.3082, allocations: 287.3 kB / 470.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.3084, allocations: 99.33 kB / 470.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.3099, allocations: 0.7375 MB / 471 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.3099, allocations: 12 kB / 471 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3099, allocations: 4 kB / 471 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.3099, allocations: 7.969 kB / 471.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/0.314, allocations: 2.568 MB / 473.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.314, allocations: 7.969 kB / 473.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008838/0.3149, allocations: 195.7 kB / 473.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/0.3153, allocations: 159.3 kB / 474 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.243e-05/0.3154, allocations: 24 kB / 474 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00471/0.3201, allocations: 5.584 MB / 479.6 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3201, allocations: 0 / 479.6 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.323, allocations: 1.669 MB / 481.3 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/0.3234, allocations: 175.3 kB / 481.4 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3235, allocations: 24 kB / 481.4 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005358/0.3241, allocations: 31.98 kB / 481.5 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.3242, allocations: 92.36 kB / 481.6 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.3243, allocations: 28 kB / 481.6 MB, free: 3.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006539/0.3249, allocations: 471 kB / 482.1 MB, free: 2.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3249, allocations: 0 / 482.1 MB, free: 2.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009219/0.3259, allocations: 256 kB / 482.3 MB, free: 2.73 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.0002015/0.3261, allocations: 135.2 kB / 482.4 MB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.3282, allocations: 1.23 MB / 483.7 MB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3282, allocations: 0 / 483.7 MB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.3297, allocations: 0.9479 MB / 484.6 MB, free: 320 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.3307, allocations: 209.3 kB / 484.8 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.3347, allocations: 2.191 MB / 487 MB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.3354, allocations: 1.033 MB / 488 MB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004732/0.3359, allocations: 128 kB / 488.2 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.3361, allocations: 79.42 kB / 488.2 MB, free: 12.62 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3361, allocations: 0 / 488.2 MB, free: 12.62 MB / 398.1 MB Notification: Performance of Templates: time 0.02428/0.3604, allocations: 13.37 MB / 0.4899 GB, free: 15.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.072399485856295]