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.001445/0.001445, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001807, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 58.11 kB / 306.9 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09587/0.0972, allocations: 50.52 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006555/0.1038, allocations: 4.663 MB / 362.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00378/0.1076, allocations: 1.987 MB / 364.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005296/0.1082, allocations: 11.94 kB / 364.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008564/0.1091, allocations: 426.2 kB / 364.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.1104, allocations: 465.4 kB / 365 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008776/0.1113, allocations: 327.3 kB / 365.3 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.1125, allocations: 1.032 MB / 366.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.1129, allocations: 294.5 kB / 366.6 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/0.1133, allocations: 426.7 kB / 367.1 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.1139, allocations: 0.5099 MB / 367.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.114, allocations: 100 kB / 367.7 MB, free: 3.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.1143, allocations: 132 kB / 367.8 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.1145, allocations: 235.2 kB / 368 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004549/0.115, allocations: 469.5 kB / 368.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.1161, allocations: 1.285 MB / 369.8 MB, free: 1.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1162, allocations: 0 / 369.8 MB, free: 1.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1162, allocations: 0 / 369.8 MB, free: 1.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1162, allocations: 0 / 369.8 MB, free: 1.715 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.0021/0.1183, allocations: 1.211 MB / 371 MB, free: 464 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1183, allocations: 8.031 kB / 371 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004802/0.1188, allocations: 127.7 kB / 371.1 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1566/0.2755, allocations: 0.5644 MB / 371.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.2756, allocations: 50.61 kB / 371.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2757, allocations: 58.34 kB / 371.8 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.277, allocations: 0.6305 MB / 372.4 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.277, allocations: 7.906 kB / 372.4 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.2771, allocations: 24 kB / 372.4 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.2771, allocations: 19.75 kB / 372.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2782, allocations: 0.5275 MB / 373 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.2816, allocations: 2.552 MB / 375.5 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.2826, allocations: 471.9 kB / 376 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.2832, allocations: 283.5 kB / 376.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.2832, allocations: 13.84 kB / 376.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2833, allocations: 45.19 kB / 376.3 MB, free: 17.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.344e-06/0.2833, allocations: 0 / 376.3 MB, free: 17.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.003952/0.2872, allocations: 1.435 MB / 377.8 MB, free: 17.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.2873, allocations: 59.42 kB / 377.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.2884, allocations: 0.9705 MB / 378.8 MB, free: 16.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.2884, allocations: 36.27 kB / 378.8 MB, free: 16.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.2886, allocations: 412.7 kB / 379.2 MB, free: 16.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.2887, allocations: 212.7 kB / 379.4 MB, free: 16.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.2889, allocations: 119.4 kB / 379.6 MB, free: 16.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.289, allocations: 333.3 kB / 379.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/0.2895, allocations: 228.1 kB / 380.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/0.2901, allocations: 333.5 kB / 380.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.2911, allocations: 0.5497 MB / 381 MB, free: 15.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2911, allocations: 1.219 kB / 381 MB, free: 15.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001334/0.2925, allocations: 0.7063 MB / 381.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2925, allocations: 6.547 kB / 381.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2925, allocations: 2.312 kB / 381.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2925, allocations: 10.39 kB / 381.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.2933, allocations: 168.5 kB / 381.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2933, allocations: 6.016 kB / 381.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.2938, allocations: 38.06 kB / 381.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.2939, allocations: 32.47 kB / 382 MB, free: 14.89 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 (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.0002758/0.2941, allocations: 266.1 kB / 382.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.2943, allocations: 86.03 kB / 382.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.2955, allocations: 0.6118 MB / 382.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2956, allocations: 6.812 kB / 382.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2956, allocations: 0 / 382.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.2956, allocations: 11.16 kB / 382.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.2984, allocations: 1.785 MB / 384.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.2984, allocations: 2.859 kB / 384.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.2989, allocations: 131.5 kB / 384.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.299, allocations: 6.391 kB / 384.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.299, allocations: 14.98 kB / 384.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.299, allocations: 10.28 kB / 384.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.299, allocations: 7.219 kB / 384.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.3001, allocations: 0.7169 MB / 385.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.3004, allocations: 210.2 kB / 385.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/0.3005, allocations: 12.73 kB / 385.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.3009, allocations: 33.02 kB / 385.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.301, allocations: 51.19 kB / 385.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.301, allocations: 19.64 kB / 385.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007791/0.3018, allocations: 0.7085 MB / 386.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3018, allocations: 0 / 386.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005522/0.3024, allocations: 156.1 kB / 386.8 MB, free: 12.32 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 (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.0007548/0.3032, allocations: 375.6 kB / 387.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.3045, allocations: 0.5785 MB / 387.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3046, allocations: 2.312 kB / 387.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.3051, allocations: 284.9 kB / 388 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.3059, allocations: 146.5 kB / 388.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.3081, allocations: 1.604 MB / 389.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.3086, allocations: 0.9669 MB / 390.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004096/0.309, allocations: 103.1 kB / 390.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.3091, allocations: 57.56 kB / 390.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3091, allocations: 0 / 390.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of Templates: time 0.01218/0.3213, allocations: 7.926 MB / 398.8 MB, free: 5.105 MB / 302.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