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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 113.2 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009299/0.00093, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1872, allocations: 50.45 MB / 407.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005083/0.1923, allocations: 6.299 MB / 413.4 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.1947, allocations: 1.866 MB / 415.2 MB, free: 19.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.1951, allocations: 19.94 kB / 415.2 MB, free: 19.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004357/0.1956, allocations: 166.9 kB / 415.4 MB, free: 19.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006071/0.1962, allocations: 349.5 kB / 415.7 MB, free: 19.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.1967, allocations: 327.7 kB / 416.1 MB, free: 18.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008391/0.1976, allocations: 1.401 MB / 417.5 MB, free: 17.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004404/0.198, allocations: 444.6 kB / 417.9 MB, free: 16.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.1983, allocations: 462.2 kB / 418.4 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.1987, allocations: 0.5482 MB / 418.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.1989, allocations: 76 kB / 419 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.199, allocations: 80 kB / 419.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1991, allocations: 215.1 kB / 419.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003434/0.1995, allocations: 0.5674 MB / 419.8 MB, free: 15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009193/0.2004, allocations: 1.772 MB / 421.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2004, allocations: 0 / 421.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2004, allocations: 0 / 421.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.2005, allocations: 4 kB / 421.6 MB, free: 13.21 MB / 298.7 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.002386/0.2029, allocations: 1.442 MB / 423 MB, free: 11.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2029, allocations: 12.03 kB / 423.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.2034, allocations: 147.4 kB / 423.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008668/0.2042, allocations: 0.6728 MB / 423.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.2044, allocations: 78.56 kB / 424 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.2045, allocations: 100.3 kB / 424.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.206, allocations: 1.009 MB / 425.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.2061, allocations: 7.891 kB / 425.1 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/0.2062, allocations: 40 kB / 425.1 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.2062, allocations: 27.94 kB / 425.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.2078, allocations: 0.864 MB / 426 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003878/0.2117, allocations: 3.329 MB / 429.3 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.2128, allocations: 0.8123 MB / 430.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007032/0.2135, allocations: 475.1 kB / 430.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/0.2136, allocations: 16.55 kB / 430.6 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2136, allocations: 47.12 kB / 430.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 3.025e-06/0.2137, allocations: 0 / 430.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.007858/0.2215, allocations: 4.3 MB / 435 MB, free: 15.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.2216, allocations: 93.77 kB / 435.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/0.2223, allocations: 0.6007 MB / 435.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.2224, allocations: 45.7 kB / 435.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.2226, allocations: 428.1 kB / 436.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.2229, allocations: 402.1 kB / 436.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.2231, allocations: 179 kB / 436.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2233, allocations: 394.7 kB / 437.1 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008134/0.2241, allocations: 382.4 kB / 437.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/0.225, allocations: 0.5081 MB / 438 MB, free: 12.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.2266, allocations: 0.8848 MB / 438.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2266, allocations: 0 / 438.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002262/0.2289, allocations: 1.192 MB / 440 MB, free: 10.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2289, allocations: 10.81 kB / 440 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.229, allocations: 3.938 kB / 440 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000377/0.2293, allocations: 138.5 kB / 440.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/0.2303, allocations: 247.7 kB / 440.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/0.2336, allocations: 4.528 MB / 445 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.2343, allocations: 55.95 kB / 445 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.2344, allocations: 39.98 kB / 445 MB, free: 4.758 MB / 314.7 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.0004124/0.2348, allocations: 284.9 kB / 445.3 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.235, allocations: 87.02 kB / 445.4 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.2365, allocations: 0.776 MB / 446.2 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2365, allocations: 15.94 kB / 446.2 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.2366, allocations: 4 kB / 446.2 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.2366, allocations: 7.969 kB / 446.2 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.2405, allocations: 2.656 MB / 448.9 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2405, allocations: 0 / 448.9 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.2414, allocations: 203.7 kB / 449.1 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004109/0.2418, allocations: 163.3 kB / 449.2 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.2419, allocations: 23.98 kB / 449.3 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/0.2455, allocations: 5.564 MB / 454.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2455, allocations: 0 / 454.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/0.2616, allocations: 11.42 MB / 466.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.2618, allocations: 160.1 kB / 466.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.262, allocations: 24 kB / 466.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.2625, allocations: 48.02 kB / 466.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.2627, allocations: 84.34 kB / 466.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.2628, allocations: 35.92 kB / 466.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005571/0.2634, allocations: 443.1 kB / 467 MB, free: 13.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2634, allocations: 0 / 467 MB, free: 13.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001109/0.2645, allocations: 352 kB / 467.4 MB, free: 13.13 MB / 346.7 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.0001999/0.2647, allocations: 139.2 kB / 467.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.267, allocations: 1.338 MB / 468.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.267, allocations: 128 / 468.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.2685, allocations: 0.9975 MB / 469.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/0.2694, allocations: 169.7 kB / 470 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.274, allocations: 3.622 MB / 473.6 MB, free: 6.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.2746, allocations: 1.052 MB / 474.7 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006025/0.2752, allocations: 127.6 kB / 474.8 MB, free: 5.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.2755, allocations: 79.41 kB / 474.9 MB, free: 5.395 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2755, allocations: 0 / 474.9 MB, free: 5.395 MB / 346.7 MB Notification: Performance of Templates: time 0.02084/0.2963, allocations: 13.97 MB / 488.8 MB, free: 7.52 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches