Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002028/0.002033, allocations: 176.9 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.3 MB / 214.1 MB, free: 14.07 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 92.06 kB / 262.1 MB, free: 13.85 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.306e-05, allocations: 3.938 kB / 314.8 MB, free: 9.121 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3438, allocations: 47.56 MB / 362.3 MB, free: 45.81 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.5134, allocations: 86.23 MB / 448.6 MB, free: 40 kB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/0.5138, allocations: 84.02 kB / 448.7 MB, free: 15.95 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07/0.5838, allocations: 15.69 MB / 464.3 MB, free: 316 kB / 347.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5839, allocations: 8 kB / 464.4 MB, free: 308 kB / 347.1 MB Notification: Performance of Transformations before backend: time 7.884e-05/0.584, allocations: 16 kB / 464.4 MB, free: 292 kB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003183/0.5872, allocations: 0.9696 MB / 465.3 MB, free: 15.27 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.5872, allocations: 8.031 kB / 465.3 MB, free: 15.26 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004056/0.5877, allocations: 98.81 kB / 465.4 MB, free: 15.16 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.5892, allocations: 0.5356 MB / 466 MB, free: 14.58 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.5894, allocations: 29.31 kB / 466 MB, free: 14.55 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.5896, allocations: 32 kB / 466 MB, free: 14.52 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001496/0.5911, allocations: 478.5 kB / 466.5 MB, free: 14.05 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.5927, allocations: 0.5206 MB / 467 MB, free: 13.52 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.5927, allocations: 0 / 467 MB, free: 13.52 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.258e-05/0.5928, allocations: 4 kB / 467 MB, free: 13.52 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.5928, allocations: 12 kB / 467 MB, free: 13.51 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006775/0.5996, allocations: 2.54 MB / 469.6 MB, free: 10.84 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.6008, allocations: 429.4 kB / 470 MB, free: 10.41 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007999/0.6016, allocations: 254.5 kB / 470.3 MB, free: 10.16 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.512e-05/0.6017, allocations: 12.5 kB / 470.3 MB, free: 10.14 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.6017, allocations: 38.94 kB / 470.3 MB, free: 10.1 MB / 363.1 MB Notification: Performance of pre-optimization done (n=50): time 4.007e-06/0.6018, allocations: 0 / 470.3 MB, free: 10.1 MB / 363.1 MB Notification: Performance of matching and sorting (n=66): time 0.003524/0.6053, allocations: 0.9531 MB / 471.3 MB, free: 9.141 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.6054, allocations: 59.97 kB / 471.3 MB, free: 9.07 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.6072, allocations: 0.7495 MB / 472.1 MB, free: 8.316 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.6073, allocations: 32.42 kB / 472.1 MB, free: 8.281 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.6077, allocations: 418.2 kB / 472.5 MB, free: 7.867 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.6081, allocations: 220.7 kB / 472.7 MB, free: 7.648 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.6082, allocations: 0 / 472.7 MB, free: 7.648 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.6083, allocations: 330.8 kB / 473 MB, free: 7.316 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/0.6089, allocations: 193.5 kB / 473.2 MB, free: 7.125 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.6096, allocations: 295.5 kB / 473.5 MB, free: 6.809 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.6103, allocations: 224.5 kB / 473.7 MB, free: 6.59 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.6103, allocations: 0 / 473.7 MB, free: 6.59 MB / 363.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001652/0.612, allocations: 0.5583 MB / 474.3 MB, free: 6.023 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.6121, allocations: 8 kB / 474.3 MB, free: 6.016 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.6121, allocations: 4 kB / 474.3 MB, free: 6.012 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.6121, allocations: 4 kB / 474.3 MB, free: 6.008 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.6138, allocations: 196 kB / 474.5 MB, free: 5.816 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.6139, allocations: 11.98 kB / 474.5 MB, free: 5.805 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.6151, allocations: 55.91 kB / 474.6 MB, free: 5.75 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.6152, allocations: 20 kB / 474.6 MB, free: 5.73 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0002267/0.6154, allocations: 120.8 kB / 474.7 MB, free: 5.605 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.6156, allocations: 75.06 kB / 474.8 MB, free: 5.531 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.6173, allocations: 0.511 MB / 475.3 MB, free: 5.004 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.6173, allocations: 12 kB / 475.3 MB, free: 4.992 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6174, allocations: 0 / 475.3 MB, free: 4.992 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.6174, allocations: 3.984 kB / 475.3 MB, free: 4.988 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004598/0.622, allocations: 1.738 MB / 477 MB, free: 3.141 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.622, allocations: 0 / 477 MB, free: 3.141 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.6233, allocations: 159.8 kB / 477.2 MB, free: 2.984 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/0.6233, allocations: 6.156 kB / 477.2 MB, free: 2.98 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.6234, allocations: 8.188 kB / 477.2 MB, free: 2.973 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.6234, allocations: 4 kB / 477.2 MB, free: 2.969 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/0.6234, allocations: 7.938 kB / 477.2 MB, free: 2.961 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.6251, allocations: 0.7797 MB / 478 MB, free: 2.066 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/0.6257, allocations: 236.1 kB / 478.2 MB, free: 1.816 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.6259, allocations: 4 kB / 478.2 MB, free: 1.812 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009072/0.6268, allocations: 55.95 kB / 478.3 MB, free: 1.758 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.627, allocations: 48.45 kB / 478.3 MB, free: 1.711 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/0.627, allocations: 20 kB / 478.4 MB, free: 1.691 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.001288/0.6283, allocations: 0.5889 MB / 479 MB, free: 1.109 MB / 363.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.6284, allocations: 0 / 479 MB, free: 1.109 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.001158/0.6295, allocations: 156 kB / 479.1 MB, free: 0.957 MB / 363.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.001067/0.6306, allocations: 335.8 kB / 479.4 MB, free: 0.6719 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.6322, allocations: 486.1 kB / 479.9 MB, free: 200 kB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.6322, allocations: 4 kB / 479.9 MB, free: 196 kB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.633, allocations: 258 kB / 480.2 MB, free: 15.93 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.6342, allocations: 93.75 kB / 480.3 MB, free: 15.84 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.638, allocations: 1.212 MB / 481.5 MB, free: 14.56 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008731/0.6389, allocations: 0.9784 MB / 482.4 MB, free: 13.55 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005598/0.6395, allocations: 67.41 kB / 482.5 MB, free: 13.49 MB / 379.1 MB Notification: Performance of SimCode: time 1.243e-06/0.6395, allocations: 0 / 482.5 MB, free: 13.49 MB / 379.1 MB Notification: Performance of Templates: time 0.02651/0.666, allocations: 9.89 MB / 492.4 MB, free: 3.59 MB / 379.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches