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.001545/0.001545, allocations: 172.3 kB / 14.1 MB, free: 1.223 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.516/1.516, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008819/0.0008819, allocations: 97.84 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.443e-05/2.46e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09022, allocations: 47.56 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3008/0.3911, allocations: 88.86 MB / 458.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.3914, allocations: 80.33 kB / 459 MB, free: 4.535 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.05805/0.4494, allocations: 22.1 MB / 481.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4495, allocations: 0 / 481.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.702e-05/0.4495, allocations: 20 kB / 481.1 MB, free: 15.73 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.002399/0.4519, allocations: 1.224 MB / 482.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.452, allocations: 8.031 kB / 482.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.4522, allocations: 139.1 kB / 482.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.4533, allocations: 0.6608 MB / 483.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.4534, allocations: 77.98 kB / 483.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.4535, allocations: 99.91 kB / 483.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.4551, allocations: 0.9312 MB / 484.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.4552, allocations: 7.984 kB / 484.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.135e-05/0.4553, allocations: 40 kB / 484.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.4553, allocations: 20 kB / 484.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.4566, allocations: 0.7745 MB / 485.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005713/0.4624, allocations: 3.868 MB / 488.9 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.4643, allocations: 0.8347 MB / 489.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.4649, allocations: 362.2 kB / 490.1 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.257e-05/0.465, allocations: 24.53 kB / 490.1 MB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.465, allocations: 43.06 kB / 490.2 MB, free: 6.293 MB / 362.7 MB Notification: Performance of pre-optimization done (n=68): time 2.675e-06/0.465, allocations: 0 / 490.2 MB, free: 6.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.003702/0.4687, allocations: 1.645 MB / 491.8 MB, free: 4.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.4688, allocations: 89.5 kB / 491.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.4699, allocations: 0.8129 MB / 492.7 MB, free: 3.711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.47, allocations: 41.7 kB / 492.8 MB, free: 3.664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.4704, allocations: 0.503 MB / 493.3 MB, free: 3.152 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.4706, allocations: 291.8 kB / 493.6 MB, free: 2.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.4707, allocations: 20 kB / 493.6 MB, free: 2.844 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4708, allocations: 341.9 kB / 493.9 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.4713, allocations: 294 kB / 494.2 MB, free: 2.219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.4719, allocations: 461.9 kB / 494.7 MB, free: 1.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.4725, allocations: 350.9 kB / 495 MB, free: 1.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4725, allocations: 0 / 495 MB, free: 1.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00146/0.474, allocations: 0.9115 MB / 495.9 MB, free: 460 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.474, allocations: 8.5 kB / 495.9 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.474, allocations: 11.94 kB / 495.9 MB, free: 440 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.474, allocations: 8 kB / 495.9 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.4755, allocations: 347.6 kB / 496.3 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.4755, allocations: 15.92 kB / 496.3 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009438/0.4765, allocations: 119.9 kB / 496.4 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.519e-05/0.4766, allocations: 39.98 kB / 496.4 MB, free: 15.91 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 () * 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.0001694/0.4767, allocations: 164.3 kB / 496.6 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.4769, allocations: 102.8 kB / 496.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006971/0.4776, allocations: 370.4 kB / 497.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.4776, allocations: 15.94 kB / 497.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4776, allocations: 0 / 497.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.4776, allocations: 3.984 kB / 497.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.4817, allocations: 2.88 MB / 500 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.4817, allocations: 11.94 kB / 500 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009831/0.4827, allocations: 276 kB / 0.4885 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.4827, allocations: 20 kB / 0.4885 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.4828, allocations: 31.98 kB / 0.4886 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.54e-05/0.4828, allocations: 23.89 kB / 0.4886 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.561e-05/0.4828, allocations: 15.94 kB / 0.4886 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.4844, allocations: 1.671 MB / 0.4902 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.4848, allocations: 211.8 kB / 0.4904 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.485, allocations: 31.98 kB / 0.4905 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/0.4857, allocations: 83.94 kB / 0.4906 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.4859, allocations: 91.66 kB / 0.4906 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/0.4859, allocations: 39.98 kB / 0.4907 GB, free: 9.219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009778/0.4869, allocations: 0.6241 MB / 0.4913 GB, free: 8.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4869, allocations: 0 / 0.4913 GB, free: 8.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009323/0.4879, allocations: 236 kB / 0.4915 GB, free: 8.371 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 () * 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.0008261/0.4887, allocations: 382.6 kB / 0.4919 GB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.4899, allocations: 0.7201 MB / 0.4926 GB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4899, allocations: 0 / 0.4926 GB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.4906, allocations: 413.5 kB / 0.493 GB, free: 6.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000953/0.4915, allocations: 188 kB / 0.4932 GB, free: 6.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.4944, allocations: 1.562 MB / 0.4947 GB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.495, allocations: 1.053 MB / 0.4957 GB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006468/0.4957, allocations: 131.2 kB / 0.4958 GB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.4959, allocations: 75.41 kB / 0.4959 GB, free: 3.664 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4959, allocations: 0 / 0.4959 GB, free: 3.664 MB / 378.7 MB Notification: Performance of Templates: time 0.0193/0.5152, allocations: 10.64 MB / 0.5063 GB, free: 9.016 MB / 394.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