Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001231/0.001231, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.1 MB / 223.7 MB, free: 8.477 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.0009731/0.000973, allocations: 101.1 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008265/0.0008267, allocations: 43.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1954, allocations: 46.61 MB / 373.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004995/0.2004, allocations: 4.539 MB / 378.4 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.2028, allocations: 1.719 MB / 380.1 MB, free: 40.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005517/0.2034, allocations: 8.938 kB / 380.1 MB, free: 40.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.2041, allocations: 393.8 kB / 380.5 MB, free: 40.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006413/0.2047, allocations: 391.3 kB / 380.9 MB, free: 40.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.2052, allocations: 275.3 kB / 381.1 MB, free: 40.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007451/0.206, allocations: 0.9664 MB / 382.1 MB, free: 39.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.2063, allocations: 266.2 kB / 382.4 MB, free: 39.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.2066, allocations: 347.7 kB / 382.7 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.2071, allocations: 482.9 kB / 383.2 MB, free: 39.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-05/0.2072, allocations: 48.09 kB / 383.2 MB, free: 39.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.2073, allocations: 74.42 kB / 383.3 MB, free: 39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.2075, allocations: 187.7 kB / 383.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.2078, allocations: 406.1 kB / 383.9 MB, free: 38.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.2085, allocations: 1.215 MB / 385.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2085, allocations: 0 / 385.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2085, allocations: 0 / 385.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.2085, allocations: 0.9688 kB / 385.1 MB, free: 37.62 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.001799/0.2103, allocations: 1.212 MB / 386.3 MB, free: 36.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.2104, allocations: 9.562 kB / 386.3 MB, free: 36.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2105, allocations: 99.41 kB / 386.4 MB, free: 36.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006191/0.2111, allocations: 0.5488 MB / 386.9 MB, free: 36.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.2112, allocations: 48.59 kB / 387 MB, free: 36.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/0.2113, allocations: 61.75 kB / 387.1 MB, free: 36.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009278/0.2123, allocations: 0.6449 MB / 387.7 MB, free: 35.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2123, allocations: 7.906 kB / 387.7 MB, free: 35.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.2123, allocations: 24 kB / 387.7 MB, free: 35.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2124, allocations: 16 kB / 387.7 MB, free: 35.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2134, allocations: 0.5594 MB / 388.3 MB, free: 34.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.2159, allocations: 2.56 MB / 390.9 MB, free: 32.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007165/0.2167, allocations: 485.7 kB / 391.3 MB, free: 31.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/0.2172, allocations: 298 kB / 391.6 MB, free: 31.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.2173, allocations: 4.438 kB / 391.6 MB, free: 31.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.2173, allocations: 39 kB / 391.7 MB, free: 31.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.803e-06/0.2173, allocations: 0 / 391.7 MB, free: 31.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003473/0.2208, allocations: 1.485 MB / 393.2 MB, free: 29.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.2208, allocations: 55.97 kB / 393.2 MB, free: 29.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007622/0.2216, allocations: 0.9458 MB / 394.2 MB, free: 28.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.2216, allocations: 37.7 kB / 394.2 MB, free: 28.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.2218, allocations: 408 kB / 394.6 MB, free: 28.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/0.2219, allocations: 205 kB / 394.8 MB, free: 28.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.222, allocations: 122.6 kB / 394.9 MB, free: 28.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/0.2221, allocations: 334 kB / 395.2 MB, free: 27.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.2226, allocations: 241.9 kB / 395.5 MB, free: 27.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.2231, allocations: 343.1 kB / 395.8 MB, free: 27.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009304/0.2241, allocations: 0.5713 MB / 396.4 MB, free: 26.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2241, allocations: 0 / 396.4 MB, free: 26.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001193/0.2253, allocations: 0.7344 MB / 397.1 MB, free: 25.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2253, allocations: 6.031 kB / 397.1 MB, free: 25.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2253, allocations: 4 kB / 397.1 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2253, allocations: 4.281 kB / 397.1 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/0.2259, allocations: 175.8 kB / 397.3 MB, free: 25.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.226, allocations: 4 kB / 397.3 MB, free: 25.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.2264, allocations: 47.89 kB / 397.4 MB, free: 25.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.2264, allocations: 20 kB / 397.4 MB, free: 25.55 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_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.0002197/0.2267, allocations: 273.6 kB / 397.6 MB, free: 25.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/0.2267, allocations: 86.91 kB / 397.7 MB, free: 25.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.2279, allocations: 0.6242 MB / 398.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.2279, allocations: 11.98 kB / 398.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2279, allocations: 0 / 398.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.2279, allocations: 3.984 kB / 398.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.23, allocations: 1.816 MB / 400.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.23, allocations: 4 kB / 400.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.2305, allocations: 136.1 kB / 400.3 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2305, allocations: 8 kB / 400.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.2306, allocations: 12 kB / 400.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.2306, allocations: 7.984 kB / 400.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2306, allocations: 7.938 kB / 400.4 MB, free: 22.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.2323, allocations: 1.679 MB / 402 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.2325, allocations: 215.9 kB / 402.2 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.2326, allocations: 11.94 kB / 402.3 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.233, allocations: 39.95 kB / 402.3 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.2331, allocations: 48.27 kB / 402.3 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.2331, allocations: 20 kB / 402.4 MB, free: 20.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005343/0.2336, allocations: 0.6904 MB / 403.1 MB, free: 19.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2336, allocations: 4 kB / 403.1 MB, free: 19.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000547/0.2342, allocations: 148 kB / 403.2 MB, free: 19.47 MB / 298.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 (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.0006505/0.2348, allocations: 374.5 kB / 403.6 MB, free: 19.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.2359, allocations: 0.5771 MB / 404.1 MB, free: 18.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2359, allocations: 0 / 404.1 MB, free: 18.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.2364, allocations: 295.3 kB / 404.4 MB, free: 18.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.2371, allocations: 123.8 kB / 404.6 MB, free: 18.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.2392, allocations: 2.235 MB / 406.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.2395, allocations: 0.975 MB / 407.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003504/0.2399, allocations: 93 kB / 407.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.24, allocations: 51.42 kB / 407.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.24, allocations: 0 / 407.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of Templates: time 0.01462/0.2547, allocations: 7.457 MB / 415.4 MB, free: 7.227 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches