Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001666/0.001667, allocations: 112.4 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00226/0.00226, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.587/2.587, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001892, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4829/0.4848, allocations: 50.53 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.01789/0.5028, allocations: 4.665 MB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.5087, allocations: 1.975 MB / 416.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.5098, allocations: 11.94 kB / 416.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.511, allocations: 430.2 kB / 417 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006851/0.5179, allocations: 465.5 kB / 417.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.5196, allocations: 315.5 kB / 417.8 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002271/0.5219, allocations: 1.04 MB / 418.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007632/0.5227, allocations: 306.5 kB / 419.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005504/0.5282, allocations: 430.5 kB / 419.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.5295, allocations: 0.5061 MB / 420 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000278/0.5298, allocations: 99.94 kB / 420.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.5303, allocations: 136 kB / 420.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.5306, allocations: 235.1 kB / 420.5 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.5313, allocations: 465.6 kB / 420.9 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.5336, allocations: 1.305 MB / 422.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.5336, allocations: 4 kB / 422.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5337, allocations: 0 / 422.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.067e-05/0.5337, allocations: 0 / 422.2 MB, free: 5.223 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003919/0.5376, allocations: 1.199 MB / 423.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.5377, allocations: 8.031 kB / 423.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000815/0.5386, allocations: 127.8 kB / 423.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005919/0.5445, allocations: 0.5751 MB / 424.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.101e-05/0.5446, allocations: 45.31 kB / 424.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.5448, allocations: 63.91 kB / 424.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.5467, allocations: 0.6362 MB / 424.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.5468, allocations: 4 kB / 424.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.5469, allocations: 24 kB / 424.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.5469, allocations: 16 kB / 424.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.5487, allocations: 0.5243 MB / 425.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.5588, allocations: 2.54 MB / 428 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.5603, allocations: 468.4 kB / 428.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.5613, allocations: 289.4 kB / 428.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.162e-05/0.5614, allocations: 12.42 kB / 428.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.5615, allocations: 39 kB / 428.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 8.486e-06/0.5615, allocations: 0 / 428.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.01168/0.5732, allocations: 1.445 MB / 430.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.5733, allocations: 55.97 kB / 430.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.5753, allocations: 0.9654 MB / 431.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.5754, allocations: 33.7 kB / 431.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004997/0.5759, allocations: 412 kB / 431.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/0.5763, allocations: 216.8 kB / 431.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/0.5766, allocations: 122.5 kB / 432 MB, free: 11.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.5768, allocations: 341.9 kB / 432.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000871/0.5777, allocations: 225.9 kB / 432.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.5787, allocations: 327.1 kB / 432.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.5808, allocations: 0.5401 MB / 433.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.5809, allocations: 0 / 433.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00292/0.5838, allocations: 0.7147 MB / 434.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.5839, allocations: 7.25 kB / 434.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.5839, allocations: 8 kB / 434.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/0.584, allocations: 4 kB / 434.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5852, allocations: 171.8 kB / 434.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/0.5852, allocations: 4 kB / 434.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.5862, allocations: 31.97 kB / 434.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.5863, allocations: 27.98 kB / 434.4 MB, free: 8.68 MB / 350.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 (85): * Single equations (assignments): 85 * 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.0007517/0.5871, allocations: 273.5 kB / 434.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.5875, allocations: 90.91 kB / 434.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.5899, allocations: 0.601 MB / 435.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.5899, allocations: 8 kB / 435.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.5899, allocations: 0 / 435.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.59, allocations: 7.984 kB / 435.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.6002, allocations: 1.78 MB / 437.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.6003, allocations: 4.312 kB / 437.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008206/0.6011, allocations: 131.8 kB / 437.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/0.6011, allocations: 8 kB / 437.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.6012, allocations: 16 kB / 437.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/0.6012, allocations: 11.98 kB / 437.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.6012, allocations: 3.938 kB / 437.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.6031, allocations: 0.7237 MB / 438 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/0.6037, allocations: 204 kB / 438.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.6038, allocations: 15.98 kB / 438.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006105/0.6045, allocations: 31.92 kB / 438.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.6047, allocations: 52.31 kB / 438.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/0.6047, allocations: 19.98 kB / 438.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001306/0.6061, allocations: 0.706 MB / 439.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6061, allocations: 0 / 439.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001058/0.6071, allocations: 152 kB / 439.2 MB, free: 3.648 MB / 350.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 (63): * Single equations (assignments): 63 * 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.001642/0.6088, allocations: 374.2 kB / 439.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002492/0.6113, allocations: 0.5498 MB / 440.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.6114, allocations: 0 / 440.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6126, allocations: 283.3 kB / 440.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.6143, allocations: 144.4 kB / 440.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009774/0.6241, allocations: 1.622 MB / 442.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009902/0.6252, allocations: 0.9709 MB / 443.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.6257, allocations: 59.42 kB / 443.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6258, allocations: 0 / 443.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Templates: time 0.03493/0.6607, allocations: 10.25 MB / 453.5 MB, free: 5.453 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches