Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 199.6 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007174/0.0007175, allocations: 93.73 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001989/0.000199, allocations: 8 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1838, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09431/0.2782, allocations: 89.99 MB / 498.7 MB, free: 1.602 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.2785, allocations: 92.45 kB / 498.7 MB, free: 1.512 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Magnetic/FluxTubes/Examples/MovingCoilActuator/Components/ConstantActuator.mo:67:3-67:83:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.267/0.5455, allocations: 36.8 MB / 0.523 GB, free: 87.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5455, allocations: 0 / 0.523 GB, free: 87.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.046e-05/0.5456, allocations: 19.53 kB / 0.523 GB, free: 87.92 MB / 378.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.002308/0.5479, allocations: 1.236 MB / 0.5242 GB, free: 87.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.5479, allocations: 10.84 kB / 0.5242 GB, free: 87.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004687/0.5484, allocations: 145.4 kB / 0.5244 GB, free: 86.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.5492, allocations: 0.6239 MB / 0.525 GB, free: 86.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.5493, allocations: 81.89 kB / 0.5251 GB, free: 86.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.5495, allocations: 98.03 kB / 0.5251 GB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.5512, allocations: 1.04 MB / 0.5262 GB, free: 85.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.5512, allocations: 7.938 kB / 0.5262 GB, free: 85.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/0.5513, allocations: 36 kB / 0.5262 GB, free: 85.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.5513, allocations: 24 kB / 0.5262 GB, free: 85.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.553, allocations: 0.946 MB / 0.5272 GB, free: 84.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004285/0.5573, allocations: 3.567 MB / 0.5306 GB, free: 80.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.5586, allocations: 0.8863 MB / 0.5315 GB, free: 79.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008416/0.5595, allocations: 0.522 MB / 0.532 GB, free: 79.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.5596, allocations: 16.55 kB / 0.532 GB, free: 79.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.5596, allocations: 47.06 kB / 0.5321 GB, free: 79.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 2.805e-06/0.5596, allocations: 0 / 0.5321 GB, free: 79.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.009951/0.5695, allocations: 5.092 MB / 0.537 GB, free: 74.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.5696, allocations: 94.2 kB / 0.5371 GB, free: 73.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006705/0.5703, allocations: 0.6124 MB / 0.5377 GB, free: 73.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.301e-05/0.5704, allocations: 45.7 kB / 0.5378 GB, free: 73.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.5706, allocations: 419 kB / 0.5382 GB, free: 72.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.5708, allocations: 450.1 kB / 0.5386 GB, free: 72.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.5709, allocations: 24 kB / 0.5386 GB, free: 72.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.571, allocations: 402.7 kB / 0.539 GB, free: 72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/0.5718, allocations: 450.4 kB / 0.5394 GB, free: 71.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000869/0.5727, allocations: 0.5903 MB / 0.54 GB, free: 70.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.5744, allocations: 1.029 MB / 0.541 GB, free: 69.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5744, allocations: 4 kB / 0.541 GB, free: 69.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002357/0.5767, allocations: 1.368 MB / 0.5424 GB, free: 68.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.5768, allocations: 4 kB / 0.5424 GB, free: 68.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.5768, allocations: 4 kB / 0.5424 GB, free: 68.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004048/0.5772, allocations: 150.5 kB / 0.5425 GB, free: 68.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.5783, allocations: 291.6 kB / 0.5428 GB, free: 68.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.581, allocations: 4.773 MB / 0.5475 GB, free: 62.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/0.5819, allocations: 84 kB / 0.5475 GB, free: 62.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.582, allocations: 47.92 kB / 0.5476 GB, free: 62.73 MB / 378.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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005127/0.5826, allocations: 281.7 kB / 0.5478 GB, free: 62.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.5827, allocations: 94.81 kB / 0.5479 GB, free: 62.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.5843, allocations: 0.8626 MB / 0.5488 GB, free: 61.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5843, allocations: 12 kB / 0.5488 GB, free: 61.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.5843, allocations: 4 kB / 0.5488 GB, free: 61.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.5843, allocations: 3.984 kB / 0.5488 GB, free: 61.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/0.5885, allocations: 3.114 MB / 0.5518 GB, free: 58.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.5885, allocations: 4 kB / 0.5518 GB, free: 58.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009736/0.5895, allocations: 255.9 kB / 0.5521 GB, free: 58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/0.5898, allocations: 126.5 kB / 0.5522 GB, free: 57.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.5899, allocations: 35.98 kB / 0.5522 GB, free: 57.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.5921, allocations: 4.387 MB / 0.5565 GB, free: 53.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5922, allocations: 4 kB / 0.5565 GB, free: 53.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.5955, allocations: 2.043 MB / 0.5585 GB, free: 50.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.5958, allocations: 172 kB / 0.5587 GB, free: 50.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.5959, allocations: 31.94 kB / 0.5587 GB, free: 50.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006696/0.5966, allocations: 83.94 kB / 0.5588 GB, free: 50.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.5968, allocations: 88.42 kB / 0.5589 GB, free: 50.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.5968, allocations: 39.98 kB / 0.5589 GB, free: 50.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005061/0.5973, allocations: 443.1 kB / 0.5593 GB, free: 50.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5973, allocations: 0 / 0.5593 GB, free: 50.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009613/0.5983, allocations: 276 kB / 0.5596 GB, free: 49.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.i,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002271/0.5985, allocations: 161.4 kB / 0.5598 GB, free: 49.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.6009, allocations: 1.526 MB / 0.5613 GB, free: 48.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6009, allocations: 0 / 0.5613 GB, free: 48.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.6022, allocations: 0.9847 MB / 0.5622 GB, free: 47.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6034, allocations: 186.8 kB / 0.5624 GB, free: 46.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.6069, allocations: 2.855 MB / 0.5652 GB, free: 43.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.6073, allocations: 1.04 MB / 0.5662 GB, free: 42.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.6077, allocations: 91.39 kB / 0.5663 GB, free: 42.81 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6077, allocations: 3.938 kB / 0.5663 GB, free: 42.81 MB / 378.7 MB Notification: Performance of Templates: time 0.02401/0.6317, allocations: 27.97 MB / 0.5936 GB, free: 14.84 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches