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.001341/0.001341, allocations: 111.1 kB / 20.44 MB, free: 1.344 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.001487/0.001487, allocations: 213.4 kB / 23.73 MB, free: 4.523 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.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.001954/0.001954, allocations: 63.89 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2364, allocations: 53.41 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007975/0.2443, allocations: 5.704 MB / 437.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003891/0.2482, allocations: 1.838 MB / 439.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006031/0.2488, allocations: 23.88 kB / 439.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006571/0.2495, allocations: 214.1 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009533/0.2504, allocations: 424.8 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.2512, allocations: 375.5 kB / 440.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.2528, allocations: 1.514 MB / 441.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000547/0.2533, allocations: 321.9 kB / 442 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008241/0.2541, allocations: 0.5723 MB / 442.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007019/0.2548, allocations: 0.5287 MB / 443.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.2551, allocations: 160 kB / 443.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.2553, allocations: 168 kB / 443.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.2556, allocations: 315 kB / 443.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005299/0.2561, allocations: 0.5329 MB / 444.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.2581, allocations: 1.903 MB / 446.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2581, allocations: 0 / 446.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2581, allocations: 4 kB / 446.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.2581, allocations: 0 / 446.2 MB, free: 7.883 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.002994/0.2611, allocations: 1.396 MB / 447.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2612, allocations: 11.98 kB / 447.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.2617, allocations: 164 kB / 447.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.263, allocations: 0.6345 MB / 448.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.807e-05/0.2631, allocations: 74 kB / 448.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.2633, allocations: 96 kB / 448.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.2652, allocations: 1.024 MB / 449.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.2652, allocations: 7.938 kB / 449.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.161e-05/0.2653, allocations: 40 kB / 449.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.2653, allocations: 28 kB / 449.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.267, allocations: 0.7898 MB / 450.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005109/0.2721, allocations: 2.708 MB / 453.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.2735, allocations: 0.7718 MB / 453.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007206/0.2742, allocations: 406.1 kB / 454.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.738e-05/0.2743, allocations: 24.41 kB / 454.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.2743, allocations: 47.62 kB / 454.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.246e-06/0.2743, allocations: 0 / 454.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008649/0.283, allocations: 3.806 MB / 458.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/0.283, allocations: 93.75 kB / 458.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008195/0.2839, allocations: 0.5693 MB / 458.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/0.2839, allocations: 45.7 kB / 458.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.2843, allocations: 461 kB / 459.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.2846, allocations: 424.3 kB / 459.8 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/0.285, allocations: 186.9 kB / 459.9 MB, free: 9.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.2852, allocations: 394.7 kB / 460.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007038/0.2859, allocations: 350.4 kB / 460.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/0.2867, allocations: 484.7 kB / 461.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.2882, allocations: 0.8549 MB / 462 MB, free: 7.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.2882, allocations: 4 kB / 462 MB, free: 7.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002206/0.2904, allocations: 1.142 MB / 463.2 MB, free: 6.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2905, allocations: 8.312 kB / 463.2 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.2905, allocations: 11.98 kB / 463.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/0.2909, allocations: 122.5 kB / 463.3 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.2919, allocations: 239.7 kB / 463.5 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.2959, allocations: 4.566 MB / 468.1 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006371/0.2966, allocations: 48.02 kB / 468.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.2967, allocations: 43.98 kB / 468.2 MB, free: 1.141 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.0005124/0.2972, allocations: 285.5 kB / 468.5 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.2973, allocations: 91.44 kB / 468.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.2989, allocations: 0.7448 MB / 469.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.2989, allocations: 12 kB / 469.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.2989, allocations: 4 kB / 469.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.2989, allocations: 7.922 kB / 469.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/0.3028, allocations: 2.16 MB / 471.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3028, allocations: 0 / 471.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008845/0.3036, allocations: 195.7 kB / 471.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.3041, allocations: 163.4 kB / 471.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.3042, allocations: 27.98 kB / 471.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/0.3087, allocations: 5.473 MB / 477.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3087, allocations: 0 / 477.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.3116, allocations: 1.658 MB / 479 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.312, allocations: 171.4 kB / 479.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.3122, allocations: 31.94 kB / 479.2 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.3127, allocations: 31.92 kB / 479.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.3129, allocations: 84.48 kB / 479.3 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.3129, allocations: 35.94 kB / 479.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000552/0.3135, allocations: 410.8 kB / 479.7 MB, free: 5.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3135, allocations: 4 kB / 479.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009285/0.3144, allocations: 256 kB / 480 MB, free: 4.789 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.000186/0.3146, allocations: 131.1 kB / 480.1 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.3168, allocations: 1.234 MB / 481.4 MB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3168, allocations: 0 / 481.4 MB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.3183, allocations: 0.9402 MB / 482.3 MB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3194, allocations: 200.3 kB / 482.5 MB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.3233, allocations: 2.182 MB / 484.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.3238, allocations: 454.3 kB / 485.1 MB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000502/0.3243, allocations: 115.6 kB / 485.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.3246, allocations: 79.36 kB / 485.3 MB, free: 15.3 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3246, allocations: 0 / 485.3 MB, free: 15.3 MB / 398.1 MB Notification: Performance of Templates: time 0.02565/0.3502, allocations: 13.8 MB / 499.1 MB, free: 1.68 MB / 398.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/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_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: 4.92276824451983]