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) 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) 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 118.8 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2426, allocations: 50.54 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006943/0.2495, allocations: 6.428 MB / 415.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003547/0.2531, allocations: 1.905 MB / 417.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007735/0.2539, allocations: 19.94 kB / 417.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006978/0.2546, allocations: 226 kB / 417.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.2559, allocations: 420.8 kB / 418.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007151/0.2566, allocations: 375.5 kB / 418.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.258, allocations: 1.514 MB / 420.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.2587, allocations: 0.5014 MB / 420.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005902/0.2593, allocations: 0.5606 MB / 421.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.2598, allocations: 0.6069 MB / 421.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.26, allocations: 163.9 kB / 421.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.2602, allocations: 168 kB / 422.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.2604, allocations: 307 kB / 422.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004772/0.2609, allocations: 0.6573 MB / 423.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.2623, allocations: 1.89 MB / 424.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2623, allocations: 0 / 424.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2623, allocations: 4 kB / 424.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.2624, allocations: 0 / 424.9 MB, free: 1.805 MB / 334.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.002477/0.2648, allocations: 1.441 MB / 426.4 MB, free: 320 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2649, allocations: 16.02 kB / 426.4 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.2654, allocations: 139.5 kB / 426.5 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.2664, allocations: 0.6957 MB / 427.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.2665, allocations: 74 kB / 427.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.2666, allocations: 96 kB / 427.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.2682, allocations: 0.974 MB / 428.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.2682, allocations: 11.91 kB / 428.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.2683, allocations: 39.98 kB / 428.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.2684, allocations: 24 kB / 428.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.2698, allocations: 0.8015 MB / 429.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004515/0.2743, allocations: 3.305 MB / 432.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.2756, allocations: 0.8121 MB / 433.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006729/0.2763, allocations: 441.4 kB / 433.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.014e-05/0.2763, allocations: 20.48 kB / 433.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2764, allocations: 47.69 kB / 433.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.335e-06/0.2764, allocations: 0 / 433.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.008042/0.2844, allocations: 4.185 MB / 438.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.2845, allocations: 89.77 kB / 438.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.2853, allocations: 0.633 MB / 438.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.2854, allocations: 45.7 kB / 438.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.2856, allocations: 436.1 kB / 439.2 MB, free: 3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.2859, allocations: 410 kB / 439.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.2862, allocations: 183 kB / 439.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2863, allocations: 398.7 kB / 440.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006321/0.287, allocations: 342.5 kB / 440.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/0.2877, allocations: 496.5 kB / 441 MB, free: 1.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.2891, allocations: 0.851 MB / 441.9 MB, free: 280 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.2891, allocations: 3.938 kB / 441.9 MB, free: 276 kB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001933/0.291, allocations: 1.154 MB / 443 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2911, allocations: 8 kB / 443 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2911, allocations: 0 / 443 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.2915, allocations: 130.5 kB / 443.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009833/0.2925, allocations: 239.6 kB / 443.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.2961, allocations: 4.98 MB / 448.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.2966, allocations: 35.98 kB / 448.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.2967, allocations: 39.98 kB / 448.5 MB, free: 9.242 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.0003901/0.2971, allocations: 289.6 kB / 448.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.2973, allocations: 94.81 kB / 448.8 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.2986, allocations: 0.7453 MB / 449.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.2986, allocations: 12 kB / 449.6 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.2987, allocations: 4 kB / 449.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.2987, allocations: 8.016 kB / 449.6 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/0.3022, allocations: 2.607 MB / 452.2 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3022, allocations: 3.938 kB / 452.2 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008297/0.3031, allocations: 199.8 kB / 452.4 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004088/0.3035, allocations: 163.3 kB / 452.6 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.3036, allocations: 27.98 kB / 452.6 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004003/0.3076, allocations: 5.982 MB / 458.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.3076, allocations: 7.875 kB / 458.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.3101, allocations: 1.661 MB / 460.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.3105, allocations: 251.9 kB / 460.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.3106, allocations: 24 kB / 460.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/0.3112, allocations: 31.98 kB / 460.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.3114, allocations: 80.48 kB / 460.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.3115, allocations: 35.98 kB / 460.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006511/0.3121, allocations: 459.1 kB / 461.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3121, allocations: 0 / 461.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000936/0.3131, allocations: 260 kB / 461.4 MB, free: 11.59 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.0001821/0.3133, allocations: 145.8 kB / 461.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.3153, allocations: 1.278 MB / 462.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3153, allocations: 0 / 462.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.3165, allocations: 0.9828 MB / 463.8 MB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/0.3175, allocations: 206.4 kB / 464 MB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.3213, allocations: 2.152 MB / 466.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.3219, allocations: 1.036 MB / 467.2 MB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004622/0.3224, allocations: 128 kB / 467.3 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.3226, allocations: 75.42 kB / 467.4 MB, free: 5.426 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3226, allocations: 0 / 467.4 MB, free: 5.426 MB / 382.1 MB Notification: Performance of Templates: time 0.02087/0.3435, allocations: 12.66 MB / 480 MB, free: 8.859 MB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches