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.001568/0.001567, allocations: 182.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001148/0.001148, allocations: 78.78 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.344e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 47.57 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4167/0.5224, allocations: 86.88 MB / 456 MB, free: 6.379 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005073/0.523, allocations: 91.38 kB / 456.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1032/0.6262, allocations: 15.84 MB / 471.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6263, allocations: 0 / 471.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.531e-05/0.6264, allocations: 24 kB / 471.9 MB, free: 8.344 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003262/0.6297, allocations: 0.9618 MB / 472.9 MB, free: 7.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.6297, allocations: 8.031 kB / 472.9 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004437/0.6302, allocations: 94.88 kB / 473 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.6319, allocations: 0.5394 MB / 473.5 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.6321, allocations: 53.3 kB / 473.6 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.6323, allocations: 60 kB / 473.6 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.6342, allocations: 0.6012 MB / 474.2 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.6343, allocations: 7.984 kB / 474.2 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.6344, allocations: 24 kB / 474.3 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.6344, allocations: 19.98 kB / 474.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.6362, allocations: 0.4933 MB / 474.8 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007755/0.644, allocations: 2.663 MB / 477.4 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.6454, allocations: 460.4 kB / 477.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008887/0.6463, allocations: 274.4 kB / 478.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.177e-05/0.6464, allocations: 12.42 kB / 478.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.6465, allocations: 35 kB / 478.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 4.258e-06/0.6465, allocations: 0 / 478.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.006863/0.6534, allocations: 1.371 MB / 479.6 MB, free: 416 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.6535, allocations: 59.97 kB / 479.6 MB, free: 344 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.6557, allocations: 0.8357 MB / 480.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.656, allocations: 33.7 kB / 480.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.6564, allocations: 414.5 kB / 480.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.6567, allocations: 224.8 kB / 481.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.6568, allocations: 15.94 kB / 481.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.657, allocations: 334.8 kB / 481.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007041/0.6577, allocations: 209.5 kB / 481.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007606/0.6585, allocations: 305.1 kB / 482 MB, free: 13.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007482/0.6592, allocations: 242 kB / 482.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6593, allocations: 0 / 482.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0018/0.6611, allocations: 0.6209 MB / 482.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.6612, allocations: 8 kB / 482.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.6612, allocations: 0 / 482.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.565e-05/0.6612, allocations: 11.95 kB / 482.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.6629, allocations: 195.8 kB / 483 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-05/0.663, allocations: 7.984 kB / 483.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6643, allocations: 59.95 kB / 483.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.6644, allocations: 20 kB / 483.1 MB, free: 12.78 MB / 362.7 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.0002617/0.6647, allocations: 145.4 kB / 483.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.665, allocations: 86.95 kB / 483.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.6668, allocations: 0.5698 MB / 483.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.6669, allocations: 8 kB / 483.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.6669, allocations: 3.953 kB / 483.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.667, allocations: 3.984 kB / 483.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/0.6722, allocations: 1.878 MB / 485.8 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.6722, allocations: 4 kB / 485.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.6735, allocations: 156.1 kB / 486 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/0.6736, allocations: 4 kB / 486 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/0.6736, allocations: 23.94 kB / 486 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.6737, allocations: 4 kB / 486 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.6737, allocations: 4 kB / 486 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.6755, allocations: 0.8241 MB / 486.8 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006836/0.6763, allocations: 244 kB / 487.1 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.6765, allocations: 12 kB / 487.1 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009721/0.6775, allocations: 63.95 kB / 487.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.6777, allocations: 48.39 kB / 487.2 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.6777, allocations: 20 kB / 487.2 MB, free: 8.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001585/0.6793, allocations: 0.6632 MB / 487.9 MB, free: 7.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.6794, allocations: 7.938 kB / 487.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001225/0.6806, allocations: 188 kB / 488.1 MB, free: 7.559 MB / 362.7 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.00114/0.6818, allocations: 351.4 kB / 488.4 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.6836, allocations: 0.513 MB / 488.9 MB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.6836, allocations: 4.062 kB / 488.9 MB, free: 6.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008004/0.6844, allocations: 279 kB / 489.2 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.6856, allocations: 115.5 kB / 489.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.6895, allocations: 1.245 MB / 490.6 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008661/0.6905, allocations: 0.9788 MB / 491.5 MB, free: 4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/0.6911, allocations: 71.34 kB / 491.6 MB, free: 3.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6911, allocations: 4 kB / 491.6 MB, free: 3.926 MB / 362.7 MB Notification: Performance of Templates: time 0.02765/0.7187, allocations: 10.19 MB / 0.49 GB, free: 9.711 MB / 378.7 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