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.001261/0.001261, allocations: 180 kB / 17.01 MB, free: 5.125 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.592/1.592, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.00104/0.00104, allocations: 104 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 8 kB / 328.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2602, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.3673, allocations: 88.95 MB / 464.8 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.3677, allocations: 87.95 kB / 464.9 MB, free: 7.613 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.05781/0.4255, allocations: 22.1 MB / 487 MB, free: 1.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4256, allocations: 3.938 kB / 487 MB, free: 1.422 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.89e-05/0.4256, allocations: 23.98 kB / 487 MB, free: 1.398 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.00279/0.4284, allocations: 1.345 MB / 488.3 MB, free: 16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.4285, allocations: 12.02 kB / 488.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.4287, allocations: 139 kB / 488.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.4299, allocations: 0.6532 MB / 489.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.43, allocations: 77.98 kB / 489.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.4302, allocations: 99.91 kB / 489.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.4322, allocations: 1.04 MB / 490.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.4322, allocations: 7.938 kB / 490.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/0.4323, allocations: 36 kB / 490.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.4324, allocations: 20 kB / 490.4 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.4344, allocations: 0.9733 MB / 491.4 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005759/0.4402, allocations: 3.875 MB / 495.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.4426, allocations: 0.9479 MB / 496.2 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.418e-05/0.4426, allocations: 16.53 kB / 496.2 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.4427, allocations: 47.06 kB / 496.3 MB, free: 7.789 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 3.697e-06/0.4427, allocations: 0 / 496.3 MB, free: 7.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=82): time 0.005532/0.4482, allocations: 2.208 MB / 498.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.4483, allocations: 85.55 kB / 498.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.4495, allocations: 0.8244 MB / 499.4 MB, free: 4.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.4495, allocations: 41.7 kB / 499.4 MB, free: 4.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.4499, allocations: 0.5029 MB / 499.9 MB, free: 4.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.4501, allocations: 279.9 kB / 0.4885 GB, free: 3.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.4502, allocations: 20 kB / 0.4885 GB, free: 3.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4503, allocations: 345.9 kB / 0.4888 GB, free: 3.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009347/0.4513, allocations: 417.8 kB / 0.4892 GB, free: 3.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.4523, allocations: 0.568 MB / 0.4898 GB, free: 2.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009711/0.4533, allocations: 457.7 kB / 0.4902 GB, free: 1.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4533, allocations: 0 / 0.4902 GB, free: 1.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002287/0.4556, allocations: 1.142 MB / 0.4913 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4556, allocations: 8 kB / 0.4913 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4556, allocations: 4 kB / 0.4913 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.4557, allocations: 8 kB / 0.4913 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.457, allocations: 339.6 kB / 0.4917 GB, free: 468 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.457, allocations: 11.94 kB / 0.4917 GB, free: 456 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009039/0.4579, allocations: 123.9 kB / 0.4918 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/0.458, allocations: 28 kB / 0.4918 GB, free: 304 kB / 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 (117): * Single equations (assignments): 117 * 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.0004418/0.4585, allocations: 293.5 kB / 0.4921 GB, free: 0 / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1954/0.6539, allocations: 97.55 kB / 0.4922 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.6555, allocations: 484 kB / 0.4927 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.6556, allocations: 8.406 kB / 0.4927 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.6556, allocations: 1.844 kB / 0.4927 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.6556, allocations: 6.547 kB / 0.4927 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005268/0.6609, allocations: 2.934 MB / 0.4955 GB, free: 99.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/0.6609, allocations: 9.219 kB / 0.4956 GB, free: 99.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.662, allocations: 260 kB / 0.4958 GB, free: 99.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-05/0.662, allocations: 14.88 kB / 0.4958 GB, free: 99.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/0.6621, allocations: 33.58 kB / 0.4958 GB, free: 99.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.18e-05/0.6621, allocations: 28.02 kB / 0.4959 GB, free: 99.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/0.6621, allocations: 18.69 kB / 0.4959 GB, free: 99.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.6642, allocations: 1.741 MB / 0.4976 GB, free: 98.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.6646, allocations: 204.9 kB / 0.4978 GB, free: 98.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.6647, allocations: 27.47 kB / 0.4978 GB, free: 98.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/0.6654, allocations: 83.95 kB / 0.4979 GB, free: 98.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6656, allocations: 87.31 kB / 0.498 GB, free: 98.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.245e-05/0.6657, allocations: 38.27 kB / 0.498 GB, free: 98.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008791/0.6666, allocations: 0.6361 MB / 0.4986 GB, free: 98.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6666, allocations: 2.531 kB / 0.4986 GB, free: 98.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001055/0.6676, allocations: 234 kB / 0.4989 GB, free: 98.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (82): * Single equations (assignments): 82 * 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.001048/0.6687, allocations: 413.4 kB / 0.4993 GB, free: 98.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002351/0.671, allocations: 0.8968 MB / 0.5001 GB, free: 98.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.6711, allocations: 1.375 kB / 0.5001 GB, free: 98.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.6721, allocations: 470.8 kB / 0.5006 GB, free: 98.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.6732, allocations: 180.9 kB / 0.5008 GB, free: 98.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.6766, allocations: 2.457 MB / 0.5032 GB, free: 96.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.6771, allocations: 1.051 MB / 0.5042 GB, free: 96.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006383/0.6777, allocations: 126.1 kB / 0.5043 GB, free: 96.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.6779, allocations: 74.62 kB / 0.5044 GB, free: 96.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.678, allocations: 4 kB / 0.5044 GB, free: 96.12 MB / 378.7 MB Notification: Performance of Templates: time 0.01549/0.6934, allocations: 10.4 MB / 0.5145 GB, free: 95.44 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/jenkins/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