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.001617/0.001617, allocations: 195.3 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 226.5 MB / 244.7 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000806/0.000806, allocations: 96.05 kB / 296.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003061, allocations: 4 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2742, allocations: 51.3 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006795/0.281, allocations: 5.509 MB / 413.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003744/0.2848, allocations: 1.796 MB / 415.4 MB, free: 20.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008598/0.2857, allocations: 15.94 kB / 415.4 MB, free: 20.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006829/0.2864, allocations: 166.8 kB / 415.5 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.2877, allocations: 327.4 kB / 415.9 MB, free: 19.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.2886, allocations: 211.7 kB / 416.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001849/0.2904, allocations: 1.339 MB / 417.4 MB, free: 18.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000851/0.2913, allocations: 451 kB / 417.8 MB, free: 17.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006465/0.292, allocations: 418.3 kB / 418.3 MB, free: 17.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/0.2928, allocations: 493.8 kB / 418.7 MB, free: 16.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.2931, allocations: 64 kB / 418.8 MB, free: 16.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.2934, allocations: 64 kB / 418.9 MB, free: 16.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.2936, allocations: 191.2 kB / 419 MB, free: 16.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.2943, allocations: 0.5421 MB / 419.6 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.2956, allocations: 1.469 MB / 421.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2957, allocations: 0 / 421.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2957, allocations: 0 / 421.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.214e-05/0.2957, allocations: 0 / 421.1 MB, free: 14.64 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.003816/0.2996, allocations: 1.286 MB / 422.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.2996, allocations: 8.031 kB / 422.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008225/0.3005, allocations: 151.5 kB / 422.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.302, allocations: 0.6689 MB / 423.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.3022, allocations: 78.56 kB / 423.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.3024, allocations: 96.28 kB / 423.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/0.3054, allocations: 1.025 MB / 424.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.176e-05/0.3054, allocations: 7.906 kB / 424.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.3056, allocations: 40 kB / 424.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.3056, allocations: 24 kB / 424.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/0.3087, allocations: 0.9147 MB / 425.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007045/0.3158, allocations: 3.344 MB / 428.7 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.318, allocations: 0.8452 MB / 429.5 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.3194, allocations: 491.2 kB / 430 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.768e-05/0.3195, allocations: 16.55 kB / 430 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3195, allocations: 47.06 kB / 430.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 5.571e-06/0.3196, allocations: 4 kB / 430.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.01425/0.3338, allocations: 4.432 MB / 434.5 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.3339, allocations: 85.77 kB / 434.6 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.335, allocations: 0.6044 MB / 435.2 MB, free: 8 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.3352, allocations: 53.7 kB / 435.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.3356, allocations: 424.2 kB / 435.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/0.3361, allocations: 390.2 kB / 436.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.968e-05/0.3362, allocations: 20 kB / 436.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.3364, allocations: 394.7 kB / 436.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.3381, allocations: 398.4 kB / 436.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.3398, allocations: 0.5315 MB / 437.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.3431, allocations: 0.9161 MB / 438.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.3431, allocations: 4 kB / 438.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004257/0.3474, allocations: 1.227 MB / 439.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.3474, allocations: 8 kB / 439.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.3474, allocations: 4 kB / 439.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.3481, allocations: 126.5 kB / 439.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.3499, allocations: 267.6 kB / 439.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005232/0.3551, allocations: 4.528 MB / 444.4 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.3564, allocations: 67.95 kB / 444.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.3566, allocations: 40.05 kB / 444.6 MB, free: 6.133 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_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 initialization (128): * Single equations (assignments): 125 * 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%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006865/0.3573, allocations: 273.7 kB / 444.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/0.3576, allocations: 86.97 kB / 444.9 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.3603, allocations: 0.7917 MB / 445.7 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.3604, allocations: 8 kB / 445.7 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.3604, allocations: 4 kB / 445.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.3604, allocations: 7.969 kB / 445.7 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00711/0.3675, allocations: 2.699 MB / 448.4 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.3676, allocations: 0 / 448.4 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.3692, allocations: 219.8 kB / 448.6 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000726/0.37, allocations: 163.2 kB / 448.8 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.3701, allocations: 27.98 kB / 448.8 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005966/0.376, allocations: 5.566 MB / 454.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3761, allocations: 0 / 454.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005563/0.3817, allocations: 1.794 MB / 456.2 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.382, allocations: 164 kB / 456.3 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.3823, allocations: 24 kB / 456.4 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.3834, allocations: 63.95 kB / 456.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.3837, allocations: 88.28 kB / 456.5 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.3838, allocations: 31.98 kB / 456.5 MB, free: 9.402 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009603/0.3848, allocations: 439.1 kB / 457 MB, free: 8.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3848, allocations: 0 / 457 MB, free: 8.973 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00158/0.3864, allocations: 256 kB / 457.2 MB, free: 8.723 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002504/0.3866, allocations: 131.1 kB / 457.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004035/0.3907, allocations: 1.368 MB / 458.7 MB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3907, allocations: 4.562 kB / 458.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002545/0.3933, allocations: 1.025 MB / 459.7 MB, free: 6.098 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.395, allocations: 168.3 kB / 459.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.4013, allocations: 2.695 MB / 462.6 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008923/0.4022, allocations: 1.02 MB / 463.6 MB, free: 2.152 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005372/0.4028, allocations: 83.39 kB / 463.7 MB, free: 2.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4028, allocations: 0 / 463.7 MB, free: 2.07 MB / 330.7 MB Notification: Performance of Templates: time 0.04737/0.4502, allocations: 28.94 MB / 492.7 MB, free: 5.121 MB / 362.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/jenkins/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