Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000907/0.0009069, allocations: 182.8 kB / 18.04 MB, free: 3.637 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.277/1.277, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.000726/0.0007262, allocations: 90.34 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1918, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09337/0.2853, allocations: 89.05 MB / 466.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.2855, allocations: 87.95 kB / 466.2 MB, free: 7.383 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Magnetic/FluxTubes.mo:1363:11-1363:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.05777/0.3433, allocations: 22.12 MB / 488.3 MB, free: 1.176 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3434, allocations: 0 / 488.3 MB, free: 1.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.732e-05/0.3434, allocations: 23.98 kB / 488.3 MB, free: 1.152 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002773/0.3462, allocations: 1.337 MB / 489.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3463, allocations: 12.03 kB / 489.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.3465, allocations: 135.3 kB / 489.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.3476, allocations: 0.6733 MB / 490.5 MB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.3478, allocations: 82.55 kB / 490.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.3479, allocations: 100.3 kB / 490.6 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.35, allocations: 1.049 MB / 491.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.35, allocations: 3.938 kB / 491.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.3501, allocations: 36 kB / 491.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.3502, allocations: 24 kB / 491.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.3523, allocations: 0.9772 MB / 492.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005525/0.3579, allocations: 3.872 MB / 496.6 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.3604, allocations: 0.9557 MB / 497.6 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009704/0.3614, allocations: 461.1 kB / 498 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.3615, allocations: 16.5 kB / 498 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3615, allocations: 43.12 kB / 498.1 MB, free: 7.062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 3.657e-06/0.3615, allocations: 0 / 498.1 MB, free: 7.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.005284/0.3668, allocations: 2.311 MB / 0.4886 GB, free: 4.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.3669, allocations: 85.55 kB / 0.4887 GB, free: 4.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.368, allocations: 0.915 MB / 0.4896 GB, free: 3.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/0.3681, allocations: 41.7 kB / 0.4897 GB, free: 3.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.3684, allocations: 0.4991 MB / 0.4901 GB, free: 3.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.3686, allocations: 287.8 kB / 0.4904 GB, free: 2.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.3687, allocations: 20 kB / 0.4904 GB, free: 2.855 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3688, allocations: 345.9 kB / 0.4908 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009576/0.3697, allocations: 429.8 kB / 0.4912 GB, free: 2.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.3708, allocations: 0.5798 MB / 0.4917 GB, free: 1.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.3727, allocations: 0.9711 MB / 0.4927 GB, free: 444 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3727, allocations: 4 kB / 0.4927 GB, free: 440 kB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.1494/0.5221, allocations: 1.177 MB / 0.4938 GB, free: 100.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.5222, allocations: 6.375 kB / 0.4939 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.5222, allocations: 4.719 kB / 0.4939 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.5223, allocations: 8.031 kB / 0.4939 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.5239, allocations: 350.2 kB / 0.4942 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.5239, allocations: 10.84 kB / 0.4942 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009864/0.5249, allocations: 115.9 kB / 0.4943 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.525, allocations: 39.72 kB / 0.4944 GB, free: 100.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (121): * Single equations (assignments): 121 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004926/0.5255, allocations: 288.8 kB / 0.4946 GB, free: 100.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.5257, allocations: 100.4 kB / 0.4947 GB, free: 100.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.5269, allocations: 489.9 kB / 0.4952 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.5269, allocations: 12.39 kB / 0.4952 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5269, allocations: 0.9062 kB / 0.4952 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.5269, allocations: 3.844 kB / 0.4952 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004674/0.5316, allocations: 3.041 MB / 0.4982 GB, free: 99.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/0.5317, allocations: 15.47 kB / 0.4982 GB, free: 99.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.5327, allocations: 269.3 kB / 0.4985 GB, free: 99.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.055e-05/0.5327, allocations: 18.47 kB / 0.4985 GB, free: 99.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.5328, allocations: 26.56 kB / 0.4985 GB, free: 99.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.247e-05/0.5328, allocations: 20.61 kB / 0.4985 GB, free: 99.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-05/0.5328, allocations: 22.28 kB / 0.4985 GB, free: 99.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.5347, allocations: 1.291 MB / 0.4998 GB, free: 99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.535, allocations: 212.9 kB / 0.5 GB, free: 98.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.5351, allocations: 31.03 kB / 0.5 GB, free: 98.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/0.5358, allocations: 84.33 kB / 0.5001 GB, free: 98.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.536, allocations: 93.64 kB / 0.5002 GB, free: 98.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.5361, allocations: 37.94 kB / 0.5002 GB, free: 98.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009708/0.537, allocations: 0.6416 MB / 0.5009 GB, free: 98.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.537, allocations: 0 / 0.5009 GB, free: 98.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009909/0.538, allocations: 232.5 kB / 0.5011 GB, free: 98.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.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 (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007958/0.5388, allocations: 421.3 kB / 0.5015 GB, free: 98.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.5407, allocations: 0.9159 MB / 0.5024 GB, free: 98.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5407, allocations: 7.594 kB / 0.5024 GB, free: 98.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008096/0.5415, allocations: 487.1 kB / 0.5029 GB, free: 98.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.5437, allocations: 269.3 kB / 0.5031 GB, free: 98.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.5465, allocations: 2.506 MB / 0.5056 GB, free: 97.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.5469, allocations: 1.028 MB / 0.5066 GB, free: 96.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005919/0.5475, allocations: 133.5 kB / 0.5067 GB, free: 96.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.5478, allocations: 84.42 kB / 0.5068 GB, free: 96.3 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5478, allocations: 0 / 0.5068 GB, free: 96.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01764/0.5654, allocations: 12.37 MB / 0.5188 GB, free: 94.92 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches