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.001446/0.001446, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 216.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2828, allocations: 50.53 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006006/0.2889, allocations: 4.672 MB / 413.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.292, allocations: 1.979 MB / 415.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.2922, allocations: 8 kB / 415.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006745/0.2929, allocations: 430.2 kB / 416.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007482/0.2937, allocations: 461.5 kB / 416.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005732/0.2943, allocations: 334.9 kB / 417.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008879/0.2952, allocations: 1.028 MB / 418.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.2956, allocations: 302.5 kB / 418.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.2961, allocations: 426.6 kB / 418.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005235/0.2966, allocations: 0.506 MB / 419.3 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.2967, allocations: 100 kB / 419.4 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.297, allocations: 140 kB / 419.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.2972, allocations: 243.1 kB / 419.8 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.2975, allocations: 465.6 kB / 420.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.2988, allocations: 1.301 MB / 421.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.2989, allocations: 0 / 421.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2989, allocations: 0 / 421.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.2989, allocations: 0 / 421.6 MB, free: 5.203 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.002218/0.3011, allocations: 1.207 MB / 422.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3012, allocations: 12.03 kB / 422.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000496/0.3017, allocations: 119.8 kB / 422.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000895/0.3026, allocations: 0.5751 MB / 423.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.3026, allocations: 49.31 kB / 423.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.3027, allocations: 59.91 kB / 423.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.3038, allocations: 0.6323 MB / 424.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.3039, allocations: 4 kB / 424.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.3039, allocations: 24 kB / 424.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.3039, allocations: 16 kB / 424.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.305, allocations: 0.5204 MB / 424.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.3086, allocations: 2.544 MB / 427.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008524/0.3095, allocations: 472.4 kB / 427.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006013/0.3101, allocations: 285.4 kB / 428.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.3101, allocations: 12.42 kB / 428.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3102, allocations: 39 kB / 428.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.024e-06/0.3102, allocations: 3.938 kB / 428.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.003899/0.3141, allocations: 1.438 MB / 429.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3142, allocations: 59.91 kB / 429.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.3152, allocations: 0.9693 MB / 430.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.3153, allocations: 37.7 kB / 430.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.3156, allocations: 415.9 kB / 431 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.3158, allocations: 208.9 kB / 431.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.316, allocations: 126.6 kB / 431.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3161, allocations: 330 kB / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.3166, allocations: 221.9 kB / 431.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.3172, allocations: 331.1 kB / 432.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.3183, allocations: 0.544 MB / 432.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3183, allocations: 4 kB / 432.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001356/0.3197, allocations: 0.7148 MB / 433.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3197, allocations: 10.97 kB / 433.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3197, allocations: 0 / 433.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3197, allocations: 8 kB / 433.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007448/0.3205, allocations: 163.8 kB / 433.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3205, allocations: 8.219 kB / 433.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.321, allocations: 35.97 kB / 433.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.3211, allocations: 23.98 kB / 433.7 MB, free: 8.66 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.0003244/0.3214, allocations: 281.4 kB / 434 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.3215, allocations: 82.97 kB / 434.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.3228, allocations: 0.6049 MB / 434.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.3228, allocations: 8 kB / 434.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3228, allocations: 0 / 434.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3229, allocations: 3.984 kB / 434.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.3256, allocations: 1.784 MB / 436.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3256, allocations: 4 kB / 436.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.3262, allocations: 127.8 kB / 436.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.3262, allocations: 4 kB / 436.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.3263, allocations: 15.98 kB / 436.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3263, allocations: 12.31 kB / 436.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3263, allocations: 3.938 kB / 436.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3274, allocations: 0.7237 MB / 437.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.3277, allocations: 204 kB / 437.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.3278, allocations: 19.98 kB / 437.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.3282, allocations: 27.98 kB / 437.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.3283, allocations: 48.31 kB / 437.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.3284, allocations: 27.88 kB / 437.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00077/0.3291, allocations: 0.6982 MB / 438.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3291, allocations: 4 kB / 438.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005595/0.3297, allocations: 156 kB / 438.5 MB, free: 3.629 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.0008211/0.3305, allocations: 371.5 kB / 438.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.3317, allocations: 0.5536 MB / 439.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3318, allocations: 0 / 439.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.3323, allocations: 283 kB / 439.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.3331, allocations: 140.3 kB / 439.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.3355, allocations: 1.582 MB / 441.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.336, allocations: 0.967 MB / 442.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003631/0.3364, allocations: 101.2 kB / 442.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.3365, allocations: 59.42 kB / 442.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3366, allocations: 0 / 442.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Templates: time 0.01529/0.3519, allocations: 8.063 MB / 450.6 MB, free: 7.613 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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