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.001167/0.001167, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007957/0.0007957, allocations: 82.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.27e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.08786, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4214, allocations: 88.43 MB / 451.5 MB, free: 7.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.4217, allocations: 86.2 kB / 451.6 MB, free: 7.285 MB / 330.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.05685/0.4786, allocations: 21.88 MB / 473.5 MB, free: 5.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4786, allocations: 0 / 473.5 MB, free: 5.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.824e-05/0.4787, allocations: 24 kB / 473.5 MB, free: 5.289 MB / 346.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.002474/0.4812, allocations: 1.226 MB / 474.7 MB, free: 4.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4812, allocations: 12.03 kB / 474.7 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.4815, allocations: 135.1 kB / 474.9 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.4825, allocations: 0.6573 MB / 475.5 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.4826, allocations: 45.31 kB / 475.6 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.4828, allocations: 59.94 kB / 475.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001274/0.484, allocations: 0.7219 MB / 476.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.4855, allocations: 0.7967 MB / 477.2 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.4856, allocations: 7.656 kB / 477.2 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.4856, allocations: 4 kB / 477.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.4857, allocations: 20 kB / 477.2 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005427/0.4911, allocations: 3.682 MB / 480.9 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.493, allocations: 0.8076 MB / 481.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005943/0.4936, allocations: 347.4 kB / 482 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/0.4937, allocations: 8.562 kB / 482 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/0.4938, allocations: 47.06 kB / 482.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=68): time 3.396e-06/0.4938, allocations: 0 / 482.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.002962/0.4968, allocations: 1.41 MB / 483.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.4968, allocations: 85.55 kB / 483.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/0.4978, allocations: 0.6951 MB / 484.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.4978, allocations: 25.7 kB / 484.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.4982, allocations: 0.5144 MB / 484.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.4984, allocations: 271.9 kB / 485.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.4984, allocations: 0 / 485.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4986, allocations: 402.7 kB / 485.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.4991, allocations: 278.6 kB / 485.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.4996, allocations: 442.4 kB / 486.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.5001, allocations: 325.7 kB / 486.5 MB, free: 9.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5002, allocations: 7.938 kB / 486.5 MB, free: 9.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001292/0.5015, allocations: 0.8257 MB / 487.3 MB, free: 8.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5015, allocations: 4 kB / 487.3 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5015, allocations: 4.5 kB / 487.3 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.5015, allocations: 16 kB / 487.3 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.503, allocations: 347.5 kB / 487.7 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.503, allocations: 19.88 kB / 487.7 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.5039, allocations: 95.91 kB / 487.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.504, allocations: 35.98 kB / 487.8 MB, free: 8.438 MB / 362.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 () * 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.0001653/0.5041, allocations: 124.7 kB / 487.9 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.5043, allocations: 94.88 kB / 488 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006105/0.5049, allocations: 337.3 kB / 488.4 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.5049, allocations: 8 kB / 488.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.505, allocations: 0 / 488.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.505, allocations: 7.969 kB / 488.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.5088, allocations: 2.668 MB / 491 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.5089, allocations: 12 kB / 491.1 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.5099, allocations: 267.9 kB / 491.3 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.61e-05/0.51, allocations: 16 kB / 491.3 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.51, allocations: 27.92 kB / 491.4 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/0.5101, allocations: 15.94 kB / 491.4 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/0.5101, allocations: 19.88 kB / 491.4 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.5118, allocations: 1.616 MB / 493 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.512, allocations: 196 kB / 493.2 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5122, allocations: 19.98 kB / 493.2 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/0.5129, allocations: 67.95 kB / 493.3 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.5131, allocations: 95.62 kB / 493.4 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.5131, allocations: 35.98 kB / 493.4 MB, free: 2.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000707/0.5138, allocations: 0.5226 MB / 493.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5138, allocations: 0 / 493.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008491/0.5147, allocations: 204 kB / 494.1 MB, free: 1.453 MB / 362.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 () * 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.0007515/0.5155, allocations: 343.6 kB / 494.5 MB, free: 1.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.5165, allocations: 0.6555 MB / 495.1 MB, free: 472 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.5166, allocations: 0 / 495.1 MB, free: 472 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.5171, allocations: 382.8 kB / 495.5 MB, free: 92 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009695/0.5181, allocations: 171.4 kB / 495.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.5208, allocations: 1.509 MB / 497.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.5215, allocations: 1.057 MB / 498.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005958/0.5221, allocations: 122.7 kB / 498.4 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.5223, allocations: 71.41 kB / 498.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.5224, allocations: 0 / 498.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of Templates: time 0.0175/0.5399, allocations: 9.304 MB / 0.4958 GB, free: 3.648 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