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.002525/0.002524, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.513/2.513, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001246/0.001246, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006044/0.0006048, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1359, allocations: 47.58 MB / 374.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.009143/0.1451, allocations: 3.655 MB / 378.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005703/0.1509, allocations: 1.67 MB / 379.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008578/0.1518, allocations: 15.94 kB / 379.9 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.1533, allocations: 378.8 kB / 380.3 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.156, allocations: 430.8 kB / 380.7 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1576, allocations: 187.6 kB / 380.9 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002543/0.1602, allocations: 0.632 MB / 381.5 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008734/0.1611, allocations: 219.9 kB / 381.7 MB, free: 8.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.1624, allocations: 342.8 kB / 382 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.1638, allocations: 398.5 kB / 382.4 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.1641, allocations: 40 kB / 382.5 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/0.1646, allocations: 59.92 kB / 382.5 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.1649, allocations: 167.3 kB / 382.7 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.1654, allocations: 181.3 kB / 382.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.1677, allocations: 0.9858 MB / 383.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1678, allocations: 0 / 383.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.863e-06/0.1678, allocations: 0 / 383.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.066e-05/0.1679, allocations: 3.938 kB / 383.9 MB, free: 6.078 MB / 282.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.004828/0.1727, allocations: 1.09 MB / 385 MB, free: 4.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.1728, allocations: 12.03 kB / 385 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.1733, allocations: 94.83 kB / 385.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.1753, allocations: 0.5271 MB / 385.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.1756, allocations: 45.31 kB / 385.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.1759, allocations: 56 kB / 385.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/0.1791, allocations: 0.6597 MB / 386.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.406e-05/0.1792, allocations: 7.906 kB / 386.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.1794, allocations: 31.94 kB / 386.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.1794, allocations: 12 kB / 386.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003553/0.183, allocations: 0.5946 MB / 387 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009526/0.1926, allocations: 2.56 MB / 389.5 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2946/0.4873, allocations: 484 kB / 390 MB, free: 20.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/0.4874, allocations: 12.48 kB / 390 MB, free: 20.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4874, allocations: 38.92 kB / 390.1 MB, free: 20.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=48): time 2.906e-06/0.4874, allocations: 1.344 kB / 390.1 MB, free: 20.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=60): time 0.00837/0.4958, allocations: 1.638 MB / 391.7 MB, free: 20.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.4959, allocations: 59.03 kB / 391.8 MB, free: 20.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.4978, allocations: 0.9359 MB / 392.7 MB, free: 19.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.498, allocations: 36.14 kB / 392.7 MB, free: 19.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.4983, allocations: 413 kB / 393.1 MB, free: 19.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.4986, allocations: 203.5 kB / 393.3 MB, free: 19.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.4987, allocations: 14.91 kB / 393.4 MB, free: 19.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.4988, allocations: 337.2 kB / 393.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.5, allocations: 262.8 kB / 393.9 MB, free: 18.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.5012, allocations: 361.2 kB / 394.3 MB, free: 18.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.5025, allocations: 286.9 kB / 394.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5025, allocations: 0.7969 kB / 394.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002797/0.5053, allocations: 0.7183 MB / 395.3 MB, free: 18.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.5054, allocations: 9.922 kB / 395.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.5054, allocations: 2.125 kB / 395.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.5054, allocations: 9.344 kB / 395.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.507, allocations: 180.4 kB / 395.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.507, allocations: 5.453 kB / 395.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.508, allocations: 52.67 kB / 395.5 MB, free: 18.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/0.5081, allocations: 23.61 kB / 395.6 MB, free: 18.27 MB / 282.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 (82): * Single equations (assignments): 82 * 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.0005621/0.5087, allocations: 267.2 kB / 395.8 MB, free: 18.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.5089, allocations: 81.45 kB / 395.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.5114, allocations: 0.6769 MB / 396.6 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.5115, allocations: 6.688 kB / 396.6 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.5115, allocations: 0 / 396.6 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.5115, allocations: 3.375 kB / 396.6 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004896/0.5164, allocations: 1.809 MB / 398.4 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.5165, allocations: 6.125 kB / 398.4 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.5176, allocations: 140.2 kB / 398.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.5177, allocations: 5.438 kB / 398.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.5177, allocations: 15.78 kB / 398.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.5178, allocations: 9.547 kB / 398.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.5178, allocations: 5.969 kB / 398.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.5203, allocations: 0.8597 MB / 399.4 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004534/0.5208, allocations: 210.7 kB / 399.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.521, allocations: 14.39 kB / 399.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008215/0.5218, allocations: 53.5 kB / 399.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.522, allocations: 46.89 kB / 399.8 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.5221, allocations: 19.48 kB / 399.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001377/0.5235, allocations: 0.6883 MB / 400.5 MB, free: 15.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5235, allocations: 0.7188 kB / 400.5 MB, free: 15.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001107/0.5246, allocations: 145.7 kB / 400.6 MB, free: 15.61 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (60): * Single equations (assignments): 60 * 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.001045/0.5257, allocations: 377.4 kB / 401 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002675/0.5284, allocations: 0.6102 MB / 401.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5284, allocations: 5.406 kB / 401.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.5296, allocations: 304.8 kB / 401.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.5308, allocations: 120.2 kB / 402 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.5353, allocations: 1.884 MB / 403.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.536, allocations: 0.9752 MB / 404.9 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/0.5365, allocations: 66.5 kB / 404.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5366, allocations: 0 / 404.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of Templates: time 0.023/0.5596, allocations: 9.504 MB / 414.4 MB, free: 7.387 MB / 282.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