Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 179.9 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 222.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007516/0.0007516, allocations: 84.88 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.000273, allocations: 15.98 kB / 327 MB, free: 168 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2201, allocations: 47.56 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008056/0.2282, allocations: 5.431 MB / 380 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00441/0.2327, allocations: 1.778 MB / 381.8 MB, free: 39.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009191/0.2337, allocations: 19.66 kB / 381.8 MB, free: 39.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006642/0.2343, allocations: 166.9 kB / 381.9 MB, free: 39.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.2357, allocations: 326.7 kB / 382.3 MB, free: 39.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.2366, allocations: 210.1 kB / 382.5 MB, free: 39.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002156/0.2388, allocations: 1.326 MB / 383.8 MB, free: 38.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007994/0.2396, allocations: 370.1 kB / 384.2 MB, free: 38.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007603/0.2404, allocations: 421.7 kB / 384.6 MB, free: 37.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007693/0.2412, allocations: 0.4892 MB / 385.1 MB, free: 37.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.2414, allocations: 60.69 kB / 385.1 MB, free: 37.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.2416, allocations: 61.44 kB / 385.2 MB, free: 37.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.2418, allocations: 193.2 kB / 385.4 MB, free: 37.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003137/0.2422, allocations: 242 kB / 385.6 MB, free: 37.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.2437, allocations: 1.461 MB / 387.1 MB, free: 36.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2437, allocations: 1.406 kB / 387.1 MB, free: 36.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2438, allocations: 0 / 387.1 MB, free: 36.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.2438, allocations: 0 / 387.1 MB, free: 36.02 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.004167/0.248, allocations: 1.303 MB / 388.4 MB, free: 34.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.248, allocations: 8.031 kB / 388.4 MB, free: 34.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.2484, allocations: 126.5 kB / 388.5 MB, free: 34.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.25, allocations: 0.6447 MB / 389.1 MB, free: 34.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.2502, allocations: 77.94 kB / 389.2 MB, free: 34.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.2504, allocations: 96 kB / 389.3 MB, free: 33.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003025/0.2534, allocations: 1.021 MB / 390.3 MB, free: 32.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.691e-05/0.2535, allocations: 3.906 kB / 390.3 MB, free: 32.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.2537, allocations: 44 kB / 390.4 MB, free: 32.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.2537, allocations: 20 kB / 390.4 MB, free: 32.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003322/0.257, allocations: 0.9225 MB / 391.3 MB, free: 31.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007406/0.2645, allocations: 3.341 MB / 394.7 MB, free: 28.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.2668, allocations: 0.8391 MB / 395.5 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.2683, allocations: 498.7 kB / 396 MB, free: 27.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.804e-05/0.2684, allocations: 17.12 kB / 396 MB, free: 27.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.2685, allocations: 47.11 kB / 396.1 MB, free: 27.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 5.861e-06/0.2685, allocations: 4 kB / 396.1 MB, free: 27.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.01573/0.2842, allocations: 4.433 MB / 400.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.2843, allocations: 89.77 kB / 400.6 MB, free: 22.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.2855, allocations: 0.5968 MB / 401.2 MB, free: 21.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.908e-05/0.2856, allocations: 45.7 kB / 401.2 MB, free: 21.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.2859, allocations: 436.1 kB / 401.6 MB, free: 21.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/0.2863, allocations: 394.2 kB / 402 MB, free: 20.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.347e-05/0.2864, allocations: 20 kB / 402.1 MB, free: 20.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2865, allocations: 402.7 kB / 402.4 MB, free: 20.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.2881, allocations: 398.4 kB / 402.8 MB, free: 19.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.2897, allocations: 0.5315 MB / 403.4 MB, free: 19.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.2913, allocations: 444 kB / 403.8 MB, free: 18.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2913, allocations: 0 / 403.8 MB, free: 18.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003986/0.2953, allocations: 1.227 MB / 405 MB, free: 17.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.2953, allocations: 8 kB / 405 MB, free: 17.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.2954, allocations: 3.984 kB / 405 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006139/0.296, allocations: 126.5 kB / 405.2 MB, free: 17.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.2979, allocations: 263.7 kB / 405.4 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/0.3021, allocations: 4.524 MB / 409.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.3035, allocations: 68.02 kB / 410 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.3037, allocations: 35.98 kB / 410 MB, free: 12.32 MB / 298.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.0006927/0.3044, allocations: 282 kB / 410.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.3046, allocations: 94.88 kB / 410.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.3072, allocations: 0.7801 MB / 411.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.3073, allocations: 12 kB / 411.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.3073, allocations: 4 kB / 411.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.3073, allocations: 11.92 kB / 411.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006717/0.3141, allocations: 2.706 MB / 413.9 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.3141, allocations: 3.953 kB / 413.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.3159, allocations: 223.7 kB / 414.1 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007624/0.3166, allocations: 151.4 kB / 414.3 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.49e-05/0.3168, allocations: 27.98 kB / 414.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004655/0.3214, allocations: 5.557 MB / 419.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3215, allocations: 8.109 kB / 419.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005242/0.3267, allocations: 1.794 MB / 421.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.3271, allocations: 156.1 kB / 421.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.3273, allocations: 24 kB / 421.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.3285, allocations: 63.95 kB / 421.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.3288, allocations: 84.34 kB / 422 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.3289, allocations: 36.11 kB / 422 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.3299, allocations: 435.1 kB / 422.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3299, allocations: 0 / 422.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001638/0.3316, allocations: 256 kB / 422.7 MB, free: 14.92 MB / 314.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.0002758/0.3319, allocations: 139.8 kB / 422.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004476/0.3364, allocations: 1.381 MB / 424.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3364, allocations: 0 / 424.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002654/0.3391, allocations: 1.018 MB / 425.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.3409, allocations: 175.4 kB / 425.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/0.3478, allocations: 2.68 MB / 428.1 MB, free: 9.391 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009144/0.3487, allocations: 1.024 MB / 429.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.3493, allocations: 91.39 kB / 429.2 MB, free: 8.246 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3493, allocations: 0 / 429.2 MB, free: 8.246 MB / 314.7 MB Notification: Performance of Templates: time 0.05436/0.4037, allocations: 28.95 MB / 458.2 MB, free: 11.25 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches