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.0009893/0.0009893, allocations: 96.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 200.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002226/0.0002227, allocations: 8 kB / 307.7 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.09533, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00537/0.1007, allocations: 4.261 MB / 363.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.1041, allocations: 1.941 MB / 365.5 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005456/0.1046, allocations: 8 kB / 365.5 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.1055, allocations: 406.7 kB / 365.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.1066, allocations: 434 kB / 366.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007249/0.1074, allocations: 275.7 kB / 366.6 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.1086, allocations: 0.9808 MB / 367.5 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.109, allocations: 251.4 kB / 367.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.1096, allocations: 346.6 kB / 368.1 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005063/0.1101, allocations: 462.1 kB / 368.6 MB, free: 3.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.834e-05/0.1102, allocations: 36 kB / 368.6 MB, free: 3.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.1103, allocations: 79.97 kB / 368.7 MB, free: 3.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.1105, allocations: 179.2 kB / 368.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.1109, allocations: 423.3 kB / 369.3 MB, free: 3.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.112, allocations: 1.207 MB / 370.5 MB, free: 2.008 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.112, allocations: 0 / 370.5 MB, free: 2.008 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.112, allocations: 3.984 kB / 370.5 MB, free: 2.004 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.112, allocations: 4 kB / 370.5 MB, free: 2 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.001838/0.1138, allocations: 1.059 MB / 371.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1139, allocations: 12.03 kB / 371.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.1144, allocations: 131.7 kB / 371.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007743/0.1151, allocations: 0.5712 MB / 372.3 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.1153, allocations: 49.31 kB / 372.3 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.1154, allocations: 60 kB / 372.4 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1609/0.2763, allocations: 0.6361 MB / 373 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.2763, allocations: 1.312 kB / 373 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/0.2764, allocations: 25.31 kB / 373 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.2765, allocations: 20.48 kB / 373.1 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.2778, allocations: 0.5444 MB / 373.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004341/0.2822, allocations: 2.575 MB / 376.2 MB, free: 17.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009068/0.2831, allocations: 483.6 kB / 376.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.2837, allocations: 285.1 kB / 376.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.2838, allocations: 16.11 kB / 376.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.2838, allocations: 38.31 kB / 377 MB, free: 17.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.033e-06/0.2838, allocations: 0 / 377 MB, free: 17.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.004573/0.2884, allocations: 1.576 MB / 378.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2884, allocations: 58.66 kB / 378.6 MB, free: 16.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.2896, allocations: 0.9718 MB / 379.6 MB, free: 16.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.2896, allocations: 35.95 kB / 379.6 MB, free: 16.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.2899, allocations: 412 kB / 380 MB, free: 16.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.29, allocations: 208 kB / 380.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.2901, allocations: 61.28 kB / 380.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.73e-05/0.2902, allocations: 327.5 kB / 380.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.2907, allocations: 245.7 kB / 380.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.2913, allocations: 340.9 kB / 381.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.2925, allocations: 0.5721 MB / 381.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2925, allocations: 1.781 kB / 381.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001432/0.2939, allocations: 0.7348 MB / 382.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2939, allocations: 7.078 kB / 382.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.294, allocations: 2.906 kB / 382.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.294, allocations: 8.25 kB / 382.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008066/0.2948, allocations: 173.9 kB / 382.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.2948, allocations: 6.141 kB / 382.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.2954, allocations: 41.14 kB / 382.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.2954, allocations: 28.44 kB / 382.8 MB, free: 14.59 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.0003192/0.2958, allocations: 269.1 kB / 383 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.2959, allocations: 86.09 kB / 383.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.2973, allocations: 0.6308 MB / 383.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.2973, allocations: 7.328 kB / 383.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2973, allocations: 1.062 kB / 383.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.2973, allocations: 6.953 kB / 383.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.3001, allocations: 1.817 MB / 385.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3001, allocations: 3.297 kB / 385.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.3007, allocations: 136.1 kB / 385.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.3007, allocations: 10.91 kB / 385.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.3007, allocations: 13.98 kB / 385.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.3007, allocations: 6.344 kB / 385.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3007, allocations: 6.719 kB / 385.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3019, allocations: 0.7443 MB / 386.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.3021, allocations: 212.5 kB / 386.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/0.3022, allocations: 13.97 kB / 386.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.3027, allocations: 36.22 kB / 386.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.651e-05/0.3028, allocations: 53.16 kB / 386.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.3028, allocations: 20.27 kB / 386.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008252/0.3036, allocations: 0.7049 MB / 387.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3037, allocations: 1.031 kB / 387.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005642/0.3042, allocations: 151.8 kB / 387.7 MB, free: 11.99 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.0007661/0.305, allocations: 376.5 kB / 388 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3062, allocations: 0.5654 MB / 388.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3062, allocations: 1.75 kB / 388.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.3067, allocations: 290.2 kB / 388.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009966/0.3078, allocations: 137.8 kB / 389 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3101, allocations: 1.963 MB / 391 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.3106, allocations: 0.9687 MB / 391.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004351/0.311, allocations: 98.91 kB / 392 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.3112, allocations: 56.41 kB / 392.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3112, allocations: 0 / 392.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of Templates: time 0.01203/0.3232, allocations: 7.379 MB / 399.5 MB, free: 4.809 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