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.0009553/0.0009554, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.46/1.46, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007599/0.0007599, allocations: 97.3 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.262, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005084/0.2672, allocations: 5.435 MB / 380.5 MB, free: 41.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.2702, allocations: 1.783 MB / 382.3 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000851/0.2711, allocations: 23.31 kB / 382.3 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006698/0.2718, allocations: 157.1 kB / 382.5 MB, free: 39.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.2731, allocations: 331.7 kB / 382.8 MB, free: 39.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007503/0.2738, allocations: 214 kB / 383 MB, free: 39.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.2758, allocations: 1.333 MB / 384.4 MB, free: 38.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008018/0.2767, allocations: 441.4 kB / 384.8 MB, free: 38.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007996/0.2775, allocations: 424.9 kB / 385.2 MB, free: 37.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006221/0.2781, allocations: 0.4897 MB / 385.7 MB, free: 37.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.2782, allocations: 60.84 kB / 385.8 MB, free: 37.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.2784, allocations: 61.78 kB / 385.8 MB, free: 37.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.2786, allocations: 188.7 kB / 386 MB, free: 37.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.2791, allocations: 0.5383 MB / 386.5 MB, free: 36.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009768/0.2801, allocations: 1.464 MB / 388 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.2801, allocations: 1.25 kB / 388 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2801, allocations: 4 kB / 388 MB, free: 35.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.2801, allocations: 0 / 388 MB, free: 35.74 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.002254/0.2824, allocations: 1.281 MB / 389.3 MB, free: 34.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2825, allocations: 12.03 kB / 389.3 MB, free: 34.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.2826, allocations: 119.5 kB / 389.4 MB, free: 34.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008691/0.2835, allocations: 0.6689 MB / 390.1 MB, free: 33.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.2836, allocations: 82.5 kB / 390.2 MB, free: 33.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.2837, allocations: 96.28 kB / 390.3 MB, free: 33.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.2854, allocations: 1.029 MB / 391.3 MB, free: 32.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.2854, allocations: 4 kB / 391.3 MB, free: 32.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/0.2855, allocations: 40 kB / 391.3 MB, free: 32.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.2855, allocations: 27.98 kB / 391.4 MB, free: 32.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.2872, allocations: 0.9031 MB / 392.3 MB, free: 31.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004303/0.2915, allocations: 3.352 MB / 395.6 MB, free: 27.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.2927, allocations: 0.8357 MB / 396.4 MB, free: 27.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/0.2935, allocations: 499.1 kB / 396.9 MB, free: 26.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.2935, allocations: 17.12 kB / 397 MB, free: 26.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.2936, allocations: 47.12 kB / 397 MB, free: 26.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 3.636e-06/0.2936, allocations: 0 / 397 MB, free: 26.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.008231/0.3018, allocations: 4.438 MB / 401.4 MB, free: 21.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.3019, allocations: 89.77 kB / 401.5 MB, free: 21.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/0.3026, allocations: 0.6007 MB / 402.1 MB, free: 21.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.3027, allocations: 45.7 kB / 402.2 MB, free: 21.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.3029, allocations: 432.2 kB / 402.6 MB, free: 20.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.3031, allocations: 390.2 kB / 403 MB, free: 20.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.3031, allocations: 20 kB / 403 MB, free: 20.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3033, allocations: 398.7 kB / 403.4 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007102/0.304, allocations: 406.4 kB / 403.8 MB, free: 19.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.3047, allocations: 0.5276 MB / 404.3 MB, free: 18.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.3062, allocations: 0.92 MB / 405.2 MB, free: 17.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3063, allocations: 0 / 405.2 MB, free: 17.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002017/0.3083, allocations: 1.227 MB / 406.5 MB, free: 16.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3083, allocations: 8 kB / 406.5 MB, free: 16.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.3083, allocations: 0 / 406.5 MB, free: 16.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/0.3087, allocations: 130.5 kB / 406.6 MB, free: 16.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/0.3097, allocations: 259.7 kB / 406.8 MB, free: 16.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.3123, allocations: 4.528 MB / 411.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/0.313, allocations: 72.02 kB / 411.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.408e-05/0.3131, allocations: 35.98 kB / 411.5 MB, free: 11.27 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.0004482/0.3136, allocations: 270 kB / 411.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.3137, allocations: 90.97 kB / 411.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.3151, allocations: 0.7879 MB / 412.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3151, allocations: 16 kB / 412.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.3151, allocations: 4 kB / 412.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3151, allocations: 7.969 kB / 412.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/0.3186, allocations: 2.698 MB / 415.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3187, allocations: 0 / 415.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008312/0.3195, allocations: 223.7 kB / 415.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/0.3199, allocations: 159.3 kB / 415.7 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/0.32, allocations: 27.98 kB / 415.7 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/0.3227, allocations: 5.568 MB / 421.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3227, allocations: 0 / 421.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.3257, allocations: 1.798 MB / 423.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.326, allocations: 160.1 kB / 423.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.3261, allocations: 24 kB / 423.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/0.3267, allocations: 67.95 kB / 423.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.3269, allocations: 72.39 kB / 423.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/0.3269, allocations: 35.98 kB / 423.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006092/0.3276, allocations: 443 kB / 423.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3276, allocations: 4 kB / 423.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009181/0.3285, allocations: 256 kB / 424.1 MB, free: 13.86 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.0001988/0.3287, allocations: 129.9 kB / 424.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002482/0.3312, allocations: 1.369 MB / 425.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3312, allocations: 0 / 425.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.3327, allocations: 1.033 MB / 426.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.3337, allocations: 171 kB / 426.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.338, allocations: 2.683 MB / 429.5 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/0.3387, allocations: 1.024 MB / 430.5 MB, free: 7.285 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.339, allocations: 79.41 kB / 430.6 MB, free: 7.207 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.339, allocations: 4 kB / 430.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of Templates: time 0.03326/0.3723, allocations: 28.94 MB / 459.6 MB, free: 10.21 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