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.001405/0.001405, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002019/0.002019, allocations: 205.9 kB / 23.73 MB, free: 4.379 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001744/0.001744, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2343, allocations: 53.38 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007994/0.2423, allocations: 5.721 MB / 437.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004084/0.2464, allocations: 1.831 MB / 439.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009009/0.2473, allocations: 19.94 kB / 439.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008578/0.2481, allocations: 214.1 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.2497, allocations: 424.7 kB / 439.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008595/0.2505, allocations: 379.5 kB / 440.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.2523, allocations: 1.499 MB / 441.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.2529, allocations: 353.8 kB / 442 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008049/0.2537, allocations: 0.5762 MB / 442.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007354/0.2545, allocations: 0.6068 MB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.2547, allocations: 156 kB / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.2549, allocations: 176 kB / 443.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.2552, allocations: 303.1 kB / 443.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005552/0.2558, allocations: 0.5407 MB / 444.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.2579, allocations: 1.902 MB / 446.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2579, allocations: 0 / 446.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2579, allocations: 0 / 446.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.2579, allocations: 0 / 446.2 MB, free: 7.973 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.002874/0.2608, allocations: 1.396 MB / 447.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2608, allocations: 19.97 kB / 447.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/0.2613, allocations: 148.1 kB / 447.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.2626, allocations: 0.6384 MB / 448.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.33e-05/0.2627, allocations: 78 kB / 448.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.2629, allocations: 96 kB / 448.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.2648, allocations: 1.024 MB / 449.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.2648, allocations: 11.95 kB / 449.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-05/0.2649, allocations: 36 kB / 449.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.2649, allocations: 24 kB / 449.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.2666, allocations: 0.7899 MB / 450.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/0.2716, allocations: 2.716 MB / 453.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.273, allocations: 0.7602 MB / 454 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007707/0.2737, allocations: 406.9 kB / 454.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.364e-05/0.2738, allocations: 16.5 kB / 454.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.2738, allocations: 47.62 kB / 454.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.986e-06/0.2739, allocations: 0 / 454.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008913/0.2828, allocations: 3.814 MB / 458.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.2828, allocations: 89.77 kB / 458.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008347/0.2837, allocations: 0.5771 MB / 458.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.2837, allocations: 45.7 kB / 458.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.2841, allocations: 453 kB / 459.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/0.2845, allocations: 428.3 kB / 459.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/0.2848, allocations: 190.8 kB / 460 MB, free: 9.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.2851, allocations: 394.7 kB / 460.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/0.2858, allocations: 346.5 kB / 460.7 MB, free: 9.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008443/0.2866, allocations: 484.7 kB / 461.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.2882, allocations: 0.851 MB / 462 MB, free: 7.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2882, allocations: 3.938 kB / 462 MB, free: 7.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002294/0.2905, allocations: 1.15 MB / 463.2 MB, free: 6.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.2905, allocations: 8 kB / 463.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2905, allocations: 0 / 463.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.2909, allocations: 130.7 kB / 463.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.292, allocations: 235.7 kB / 463.6 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004224/0.2962, allocations: 4.574 MB / 468.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006726/0.2969, allocations: 35.92 kB / 468.2 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/0.2969, allocations: 43.98 kB / 468.2 MB, free: 1.227 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.0004762/0.2974, allocations: 281.7 kB / 468.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.2976, allocations: 95.47 kB / 468.6 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.2991, allocations: 0.7409 MB / 469.3 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.2991, allocations: 12 kB / 469.3 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.2991, allocations: 4 kB / 469.3 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.2991, allocations: 7.969 kB / 469.3 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004056/0.3032, allocations: 2.176 MB / 471.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3032, allocations: 0 / 471.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008706/0.3041, allocations: 191.8 kB / 471.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.3045, allocations: 155.3 kB / 471.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-05/0.3046, allocations: 24 kB / 471.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004853/0.3095, allocations: 5.473 MB / 477.4 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3095, allocations: 8.281 kB / 477.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.3125, allocations: 1.653 MB / 479 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.3129, allocations: 171.4 kB / 479.2 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.313, allocations: 27.88 kB / 479.2 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.3136, allocations: 43.97 kB / 479.3 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.3138, allocations: 84.44 kB / 479.3 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/0.3138, allocations: 31.98 kB / 479.4 MB, free: 5.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005952/0.3144, allocations: 406.8 kB / 479.8 MB, free: 5.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3144, allocations: 0 / 479.8 MB, free: 5.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001007/0.3154, allocations: 260 kB / 480 MB, free: 4.879 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.0002143/0.3157, allocations: 148.6 kB / 480.2 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.318, allocations: 1.219 MB / 481.4 MB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.318, allocations: 8.062 kB / 481.4 MB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.3194, allocations: 0.9356 MB / 482.3 MB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3205, allocations: 195.9 kB / 482.5 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.3245, allocations: 2.191 MB / 484.7 MB, free: 52 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.325, allocations: 450.3 kB / 485.2 MB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005066/0.3255, allocations: 119.6 kB / 485.3 MB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.3257, allocations: 83.33 kB / 485.3 MB, free: 15.38 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3257, allocations: 0 / 485.3 MB, free: 15.38 MB / 398.1 MB Notification: Performance of Templates: time 0.02618/0.3519, allocations: 14.14 MB / 499.5 MB, free: 1.445 MB / 398.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.063206070102751]