Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001472/0.001472, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001648/0.001648, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5030,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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 51.92 kB / 347.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3212, allocations: 49.16 MB / 396.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007504/0.3287, allocations: 5.526 MB / 402.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004119/0.3329, allocations: 1.8 MB / 404.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006355/0.3335, allocations: 28.41 kB / 404.2 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000683/0.3342, allocations: 214.5 kB / 404.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009311/0.3351, allocations: 401.2 kB / 404.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.3359, allocations: 376.3 kB / 405.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.3374, allocations: 1.486 MB / 406.7 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.338, allocations: 323.8 kB / 407 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008174/0.3388, allocations: 0.5562 MB / 407.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007332/0.3396, allocations: 0.5215 MB / 408 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.3398, allocations: 158.3 kB / 408.2 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.3401, allocations: 159.5 kB / 408.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.3403, allocations: 303.4 kB / 408.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005362/0.3409, allocations: 0.5299 MB / 409.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.3427, allocations: 1.868 MB / 411.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3428, allocations: 0 / 411.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3428, allocations: 0 / 411.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.174e-05/0.3428, allocations: 1.062 kB / 411.1 MB, free: 0.5625 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003129/0.3459, allocations: 1.402 MB / 412.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.346, allocations: 13.83 kB / 412.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.3462, allocations: 128.3 kB / 412.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.3477, allocations: 0.6108 MB / 413.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.691e-05/0.3478, allocations: 73.38 kB / 413.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.348, allocations: 99.17 kB / 413.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.3502, allocations: 1.062 MB / 414.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/0.3502, allocations: 9.344 kB / 414.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.382e-05/0.3503, allocations: 36.59 kB / 414.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.3504, allocations: 23.28 kB / 414.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.3523, allocations: 0.8639 MB / 415.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005317/0.3576, allocations: 2.71 MB / 418.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.3593, allocations: 0.7608 MB / 418.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009695/0.3603, allocations: 433.4 kB / 419.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.419e-05/0.3603, allocations: 23.77 kB / 419.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.3604, allocations: 43.03 kB / 419.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.066e-06/0.3604, allocations: 1 kB / 419.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.01042/0.3708, allocations: 3.939 MB / 423.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.3709, allocations: 89.77 kB / 423.4 MB, free: 8.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009592/0.3718, allocations: 0.5534 MB / 423.9 MB, free: 7.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.3719, allocations: 45.7 kB / 424 MB, free: 7.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.3723, allocations: 449 kB / 424.4 MB, free: 7.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/0.3726, allocations: 412.4 kB / 424.8 MB, free: 6.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/0.3729, allocations: 182.9 kB / 425 MB, free: 6.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.3731, allocations: 390.7 kB / 425.4 MB, free: 6.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008633/0.374, allocations: 378.4 kB / 425.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009961/0.375, allocations: 0.5158 MB / 426.2 MB, free: 5.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.3768, allocations: 0.8848 MB / 427.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3768, allocations: 0 / 427.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002601/0.3794, allocations: 1.181 MB / 428.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3794, allocations: 8 kB / 428.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3794, allocations: 4 kB / 428.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/0.3799, allocations: 130.5 kB / 428.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.381, allocations: 243.7 kB / 428.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/0.3852, allocations: 4.58 MB / 433.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007673/0.3859, allocations: 51.95 kB / 433.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.386, allocations: 39.98 kB / 433.4 MB, free: 13.93 MB / 350.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 (128): * Single equations (assignments): 125 * 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.0005099/0.3865, allocations: 273.8 kB / 433.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.3867, allocations: 95.38 kB / 433.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.3884, allocations: 0.7562 MB / 434.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.3884, allocations: 12 kB / 434.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.3884, allocations: 4 kB / 434.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.3884, allocations: 15.94 kB / 434.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/0.3927, allocations: 2.218 MB / 436.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.3927, allocations: 4 kB / 436.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008976/0.3936, allocations: 203.7 kB / 436.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/0.394, allocations: 155.3 kB / 437.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.3941, allocations: 20 kB / 437.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004949/0.399, allocations: 5.469 MB / 442.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.399, allocations: 12.08 kB / 442.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003369/0.4024, allocations: 1.735 MB / 444.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.4026, allocations: 79.48 kB / 444.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.4028, allocations: 24 kB / 444.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006092/0.4034, allocations: 55.95 kB / 444.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.4035, allocations: 84.44 kB / 444.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.4036, allocations: 27.98 kB / 444.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005813/0.4042, allocations: 402.7 kB / 445 MB, free: 1.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4042, allocations: 0 / 445 MB, free: 1.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001051/0.4052, allocations: 252 kB / 445.2 MB, free: 1.523 MB / 350.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 (104): * Single equations (assignments): 100 * 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.0002028/0.4054, allocations: 135 kB / 445.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0026/0.408, allocations: 1.295 MB / 446.6 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.408, allocations: 0 / 446.6 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.4096, allocations: 0.9674 MB / 447.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4107, allocations: 178.2 kB / 447.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.4148, allocations: 2.171 MB / 450 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.4153, allocations: 432.7 kB / 450.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005381/0.4158, allocations: 115.3 kB / 450.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.4161, allocations: 71.42 kB / 450.6 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4161, allocations: 4 kB / 450.6 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.02543/0.4415, allocations: 13.19 MB / 463.8 MB, free: 14.78 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.409981701523066]