Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 56.86 kB / 300.6 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.0908, allocations: 49.44 MB / 350.1 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006011/0.09685, allocations: 4.568 MB / 354.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.0999, allocations: 1.811 MB / 356.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.1004, allocations: 8 kB / 356.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008479/0.1013, allocations: 418.3 kB / 356.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.1024, allocations: 417.7 kB / 357.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.1031, allocations: 327.9 kB / 357.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009489/0.104, allocations: 1.02 MB / 358.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.1044, allocations: 294.8 kB / 358.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003573/0.1048, allocations: 398.8 kB / 359.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.1053, allocations: 0.5061 MB / 359.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.1054, allocations: 100 kB / 359.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.1056, allocations: 127.9 kB / 360 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.1058, allocations: 239.2 kB / 360.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.1062, allocations: 453.7 kB / 360.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009692/0.1072, allocations: 1.261 MB / 361.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1072, allocations: 0 / 361.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1072, allocations: 3.938 kB / 361.9 MB, free: 8.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1072, allocations: 0 / 361.9 MB, free: 8.461 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002046/0.1093, allocations: 1.206 MB / 363.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1093, allocations: 8.031 kB / 363.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.1095, allocations: 95.81 kB / 363.3 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/0.1102, allocations: 0.555 MB / 363.8 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.1103, allocations: 49.88 kB / 363.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/0.1104, allocations: 63.94 kB / 363.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.1116, allocations: 0.6479 MB / 364.6 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.1116, allocations: 0 / 364.6 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.463e-05/0.1117, allocations: 24 kB / 364.6 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1117, allocations: 20 kB / 364.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.1129, allocations: 0.5595 MB / 365.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.1163, allocations: 2.548 MB / 367.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000931/0.1173, allocations: 475.4 kB / 368.2 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006816/0.118, allocations: 302 kB / 368.5 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.118, allocations: 8.438 kB / 368.5 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1181, allocations: 39 kB / 368.5 MB, free: 1.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 1.924e-06/0.1181, allocations: 0 / 368.5 MB, free: 1.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004436/0.1225, allocations: 1.481 MB / 370 MB, free: 136 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1226, allocations: 59.97 kB / 370.1 MB, free: 64 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1601/0.2826, allocations: 0.9412 MB / 371 MB, free: 25.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.2828, allocations: 36.8 kB / 371 MB, free: 25.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.2831, allocations: 398.8 kB / 371.4 MB, free: 25.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.2833, allocations: 212.8 kB / 371.6 MB, free: 25.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.2835, allocations: 116.6 kB / 371.8 MB, free: 25.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.2836, allocations: 337 kB / 372.1 MB, free: 24.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006494/0.2842, allocations: 243.3 kB / 372.3 MB, free: 24.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.2849, allocations: 348.7 kB / 372.7 MB, free: 24.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.2861, allocations: 0.5677 MB / 373.2 MB, free: 24.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2861, allocations: 0.5 kB / 373.2 MB, free: 24.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001786/0.2879, allocations: 0.7287 MB / 374 MB, free: 24.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.288, allocations: 5.906 kB / 374 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.288, allocations: 6.359 kB / 374 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.288, allocations: 10.12 kB / 374 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/0.2888, allocations: 178.3 kB / 374.2 MB, free: 24.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.2888, allocations: 5.5 kB / 374.2 MB, free: 24.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.2894, allocations: 38.73 kB / 374.2 MB, free: 24.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.2895, allocations: 27.05 kB / 374.2 MB, free: 24.02 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 (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.00036/0.2898, allocations: 262.6 kB / 374.5 MB, free: 23.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.29, allocations: 85.3 kB / 374.6 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.2914, allocations: 0.6397 MB / 375.2 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.2914, allocations: 9.938 kB / 375.2 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2914, allocations: 0 / 375.2 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.2914, allocations: 4.938 kB / 375.2 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.2943, allocations: 1.812 MB / 377 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.2943, allocations: 3.031 kB / 377 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.2948, allocations: 134.1 kB / 377.2 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.2948, allocations: 9.719 kB / 377.2 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.2949, allocations: 17.66 kB / 377.2 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.2949, allocations: 3.781 kB / 377.2 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.2949, allocations: 2.75 kB / 377.2 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.2961, allocations: 0.7398 MB / 377.9 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.2964, allocations: 205.3 kB / 378.1 MB, free: 21.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/0.2965, allocations: 20.38 kB / 378.2 MB, free: 21.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.2969, allocations: 37.97 kB / 378.2 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.297, allocations: 50.81 kB / 378.2 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.2971, allocations: 21.69 kB / 378.3 MB, free: 21.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008399/0.2979, allocations: 0.6884 MB / 379 MB, free: 21.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2979, allocations: 0 / 379 MB, free: 21.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005919/0.2985, allocations: 151.2 kB / 379.1 MB, free: 21.5 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 (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.0008205/0.2993, allocations: 387.4 kB / 379.5 MB, free: 21.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.3009, allocations: 0.6106 MB / 380.1 MB, free: 21.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3009, allocations: 1.281 kB / 380.1 MB, free: 21.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006108/0.3015, allocations: 294.3 kB / 380.4 MB, free: 21.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.3023, allocations: 127.5 kB / 380.5 MB, free: 21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.3048, allocations: 1.585 MB / 382.1 MB, free: 20.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3053, allocations: 0.9593 MB / 383 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004447/0.3057, allocations: 92.92 kB / 383.1 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.3059, allocations: 56.2 kB / 383.2 MB, free: 19.42 MB / 302.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3059, allocations: 1.188 kB / 383.2 MB, free: 19.42 MB / 302.1 MB Notification: Performance of Templates: time 0.0147/0.3206, allocations: 7.65 MB / 390.8 MB, free: 16.7 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches