Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 105.9 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.466/2.466, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 50.39 kB / 300.6 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1745, allocations: 49.45 MB / 350.1 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.009519/0.1841, allocations: 4.584 MB / 354.7 MB, free: 8 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00379/0.1879, allocations: 1.78 MB / 356.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005817/0.1885, allocations: 11.94 kB / 356.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009098/0.1896, allocations: 398.7 kB / 356.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009755/0.1905, allocations: 386.2 kB / 357.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.1913, allocations: 287.6 kB / 357.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.1924, allocations: 0.954 MB / 358.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004405/0.1929, allocations: 255.7 kB / 358.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.1934, allocations: 350.7 kB / 359 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005703/0.194, allocations: 486.1 kB / 359.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.1941, allocations: 52 kB / 359.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.1943, allocations: 72 kB / 359.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.1945, allocations: 191.2 kB / 359.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.195, allocations: 397.6 kB / 360.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009617/0.1959, allocations: 1.013 MB / 361.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1959, allocations: 4 kB / 361.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.1959, allocations: 0 / 361.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.196, allocations: 0 / 361.2 MB, free: 9.406 MB / 302.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.002464/0.1984, allocations: 1.211 MB / 362.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.1985, allocations: 8.031 kB / 362.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.1987, allocations: 99.81 kB / 362.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009505/0.1997, allocations: 0.5512 MB / 363.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.1998, allocations: 45.88 kB / 363.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.1999, allocations: 67.94 kB / 363.2 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.2013, allocations: 0.6479 MB / 363.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.2013, allocations: 4 kB / 363.9 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.2014, allocations: 20 kB / 363.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.2014, allocations: 16 kB / 363.9 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.2028, allocations: 0.5633 MB / 364.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005865/0.2087, allocations: 2.544 MB / 367 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.2103, allocations: 473.6 kB / 367.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.2115, allocations: 298 kB / 367.8 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.128e-05/0.2115, allocations: 8.438 kB / 367.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.2116, allocations: 35 kB / 367.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 4.88e-06/0.2116, allocations: 0 / 367.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007346/0.219, allocations: 1.481 MB / 369.3 MB, free: 1.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.2191, allocations: 63.97 kB / 369.3 MB, free: 1.008 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.221, allocations: 0.9458 MB / 370.3 MB, free: 56 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.2211, allocations: 33.7 kB / 370.3 MB, free: 16 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2517/0.4728, allocations: 396.6 kB / 370.7 MB, free: 25.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004499/0.4733, allocations: 210.1 kB / 370.9 MB, free: 25.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/0.4737, allocations: 121.3 kB / 371 MB, free: 25.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4739, allocations: 329.6 kB / 371.3 MB, free: 24.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.475, allocations: 248.7 kB / 371.6 MB, free: 24.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.4764, allocations: 352.9 kB / 371.9 MB, free: 24.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/0.4787, allocations: 0.5644 MB / 372.5 MB, free: 24.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.4787, allocations: 0.8125 kB / 372.5 MB, free: 24.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003146/0.4819, allocations: 0.7384 MB / 373.2 MB, free: 24.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.4819, allocations: 6.125 kB / 373.2 MB, free: 24.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.482, allocations: 3.703 kB / 373.3 MB, free: 24.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/0.482, allocations: 4.938 kB / 373.3 MB, free: 24.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.4836, allocations: 177.9 kB / 373.4 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-05/0.4836, allocations: 9.688 kB / 373.4 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009861/0.4846, allocations: 41.48 kB / 373.5 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.902e-05/0.4847, allocations: 28.38 kB / 373.5 MB, free: 24.3 MB / 302.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_xMin.contact,actuator.armature.stopper_xMax.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006351/0.4854, allocations: 265.4 kB / 373.8 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.4857, allocations: 76.75 kB / 373.8 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/0.4882, allocations: 0.6404 MB / 374.5 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.4883, allocations: 10.38 kB / 374.5 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4883, allocations: 5 kB / 374.5 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.4883, allocations: 2.438 kB / 374.5 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005021/0.4934, allocations: 1.811 MB / 376.3 MB, free: 22.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.4934, allocations: 6.594 kB / 376.3 MB, free: 22.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.4944, allocations: 137.6 kB / 376.5 MB, free: 22.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.4945, allocations: 4.125 kB / 376.5 MB, free: 22.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.4945, allocations: 20.69 kB / 376.5 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.4946, allocations: 7.422 kB / 376.5 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.4946, allocations: 6.688 kB / 376.5 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.497, allocations: 0.7382 MB / 377.2 MB, free: 22.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004956/0.4975, allocations: 203.5 kB / 377.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.4977, allocations: 19.27 kB / 377.4 MB, free: 22.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008598/0.4986, allocations: 41.62 kB / 377.5 MB, free: 22.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.4988, allocations: 43.33 kB / 377.5 MB, free: 22.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.4989, allocations: 19.38 kB / 377.5 MB, free: 22.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001561/0.5005, allocations: 0.6864 MB / 378.2 MB, free: 21.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5005, allocations: 1.531 kB / 378.2 MB, free: 21.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00126/0.5018, allocations: 149.6 kB / 378.4 MB, free: 21.79 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.5032, allocations: 382.9 kB / 378.8 MB, free: 21.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002772/0.506, allocations: 0.5816 MB / 379.3 MB, free: 21.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.5061, allocations: 1.25 kB / 379.3 MB, free: 21.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.5071, allocations: 295.4 kB / 379.6 MB, free: 21.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.5088, allocations: 116.8 kB / 379.7 MB, free: 21.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/0.5144, allocations: 1.922 MB / 381.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008695/0.5153, allocations: 0.9597 MB / 382.6 MB, free: 19.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.5157, allocations: 62.19 kB / 382.7 MB, free: 19.39 MB / 302.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5158, allocations: 0 / 382.7 MB, free: 19.39 MB / 302.1 MB Notification: Performance of Templates: time 0.03074/0.5465, allocations: 9.798 MB / 392.5 MB, free: 15.4 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches