Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 197.4 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 226.6 MB / 244.7 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007959/0.0007958, allocations: 100.3 kB / 296.8 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002144/0.0002148, allocations: 4 kB / 356.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1859, allocations: 51.3 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00342/0.1893, allocations: 3.997 MB / 412 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.1916, allocations: 1.849 MB / 413.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.1919, allocations: 11.94 kB / 413.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005093/0.1924, allocations: 398.7 kB / 414.3 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006226/0.193, allocations: 401.8 kB / 414.7 MB, free: 21.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.1935, allocations: 215.5 kB / 414.9 MB, free: 20.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006691/0.1942, allocations: 0.9118 MB / 415.8 MB, free: 19.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.1945, allocations: 259.4 kB / 416.1 MB, free: 19.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.1947, allocations: 322.8 kB / 416.4 MB, free: 19.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.1951, allocations: 426.4 kB / 416.8 MB, free: 18.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.1952, allocations: 36 kB / 416.8 MB, free: 18.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1953, allocations: 71.98 kB / 416.9 MB, free: 18.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1954, allocations: 163.3 kB / 417.1 MB, free: 18.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.1957, allocations: 403.6 kB / 417.5 MB, free: 18.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005559/0.1962, allocations: 1.002 MB / 418.5 MB, free: 17.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1963, allocations: 0 / 418.5 MB, free: 17.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1963, allocations: 0 / 418.5 MB, free: 17.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1963, allocations: 0 / 418.5 MB, free: 17.29 MB / 298.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.00162/0.1979, allocations: 1.09 MB / 419.5 MB, free: 16.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1979, allocations: 12.03 kB / 419.6 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/0.1983, allocations: 119.8 kB / 419.7 MB, free: 16.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/0.199, allocations: 0.5512 MB / 420.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.899e-05/0.1991, allocations: 53.88 kB / 420.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.1992, allocations: 59.94 kB / 420.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.2002, allocations: 0.6635 MB / 421 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2003, allocations: 0 / 421 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.2003, allocations: 24 kB / 421 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2003, allocations: 16 kB / 421 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.2015, allocations: 0.5946 MB / 421.6 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002865/0.2043, allocations: 2.575 MB / 424.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008563/0.2052, allocations: 481.8 kB / 424.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.2058, allocations: 305.2 kB / 425 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.067e-05/0.2059, allocations: 16.39 kB / 425 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.2059, allocations: 46.94 kB / 425 MB, free: 10.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.974e-06/0.2059, allocations: 0 / 425 MB, free: 10.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003994/0.2099, allocations: 1.641 MB / 426.7 MB, free: 8.789 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.21, allocations: 59.97 kB / 426.7 MB, free: 8.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008314/0.2108, allocations: 0.9536 MB / 427.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.2108, allocations: 37.7 kB / 427.7 MB, free: 7.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.211, allocations: 408 kB / 428.1 MB, free: 7.305 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.732e-05/0.2111, allocations: 209 kB / 428.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.2112, allocations: 12 kB / 428.3 MB, free: 7.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.2112, allocations: 334 kB / 428.7 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.2118, allocations: 265.8 kB / 428.9 MB, free: 6.492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.2124, allocations: 375 kB / 429.3 MB, free: 6.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.2135, allocations: 0.5987 MB / 429.9 MB, free: 5.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2135, allocations: 0 / 429.9 MB, free: 5.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001339/0.2148, allocations: 0.7658 MB / 430.7 MB, free: 4.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2148, allocations: 4 kB / 430.7 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2149, allocations: 4 kB / 430.7 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2149, allocations: 4 kB / 430.7 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/0.2156, allocations: 191.8 kB / 430.9 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.2156, allocations: 7.938 kB / 430.9 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.2161, allocations: 55.95 kB / 430.9 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.2162, allocations: 31.92 kB / 431 MB, free: 4.402 MB / 298.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.000269/0.2165, allocations: 261.7 kB / 431.2 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/0.2166, allocations: 82.91 kB / 431.3 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.2178, allocations: 0.671 MB / 432 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2179, allocations: 7.938 kB / 432 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2179, allocations: 0 / 432 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2179, allocations: 3.984 kB / 432 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.2202, allocations: 1.859 MB / 433.8 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2202, allocations: 4 kB / 433.8 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.2208, allocations: 140.2 kB / 434 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.2208, allocations: 8 kB / 434 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.2208, allocations: 12 kB / 434 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.2208, allocations: 7.938 kB / 434 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2208, allocations: 4 kB / 434 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.2219, allocations: 0.7771 MB / 434.8 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.2222, allocations: 212 kB / 435 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.2222, allocations: 15.98 kB / 435 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.2227, allocations: 47.97 kB / 435.1 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.2228, allocations: 48.25 kB / 435.1 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.2228, allocations: 20 kB / 435.1 MB, free: 28 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007737/0.2236, allocations: 0.6943 MB / 435.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2236, allocations: 0 / 435.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005131/0.2241, allocations: 156 kB / 436 MB, free: 15.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.0007175/0.2248, allocations: 371.9 kB / 436.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.2262, allocations: 0.6123 MB / 436.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2262, allocations: 0 / 436.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006084/0.2268, allocations: 315.2 kB / 437.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/0.2277, allocations: 121.3 kB / 437.4 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.2302, allocations: 1.933 MB / 439.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.2307, allocations: 0.9594 MB / 440.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.2309, allocations: 63.41 kB / 440.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of SimCode: time 3.11e-07/0.231, allocations: 0 / 440.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of Templates: time 0.01288/0.2438, allocations: 9.726 MB / 450 MB, free: 1.145 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches