Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 112.2 kB / 17.69 MB, free: 5.465 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.001162/0.001162, allocations: 190.9 kB / 18.61 MB, free: 4.539 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.311/1.311, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009873/0.0009874, allocations: 46.58 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08264/0.08364, allocations: 49.45 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007195/0.09086, allocations: 6.396 MB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.0945, allocations: 2.197 MB / 360.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/0.09524, allocations: 19.94 kB / 360.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008917/0.09614, allocations: 353.8 kB / 360.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.09754, allocations: 480.6 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.09858, allocations: 447.3 kB / 361.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.1004, allocations: 1.538 MB / 362.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006976/0.1012, allocations: 0.5169 MB / 363.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006934/0.1019, allocations: 0.5762 MB / 364 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006522/0.1025, allocations: 0.6653 MB / 364.7 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.1027, allocations: 156 kB / 364.8 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.1029, allocations: 192 kB / 365 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.1032, allocations: 323 kB / 365.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005227/0.1037, allocations: 0.6687 MB / 366 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.1052, allocations: 1.924 MB / 367.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1052, allocations: 0 / 367.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1052, allocations: 0 / 367.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.1052, allocations: 0 / 367.9 MB, free: 3.188 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002784/0.108, allocations: 1.542 MB / 369.5 MB, free: 1.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1081, allocations: 12.03 kB / 369.5 MB, free: 1.578 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.1083, allocations: 127.4 kB / 369.6 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.1094, allocations: 0.7084 MB / 370.3 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.1095, allocations: 74.38 kB / 370.4 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.1096, allocations: 96.12 kB / 370.5 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.155/0.2646, allocations: 1.011 MB / 371.5 MB, free: 24.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.2647, allocations: 5.234 kB / 371.5 MB, free: 24.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/0.2648, allocations: 42.42 kB / 371.5 MB, free: 24.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.2648, allocations: 23.27 kB / 371.5 MB, free: 24.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.2669, allocations: 0.8885 MB / 372.4 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005153/0.2721, allocations: 3.615 MB / 376 MB, free: 22.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/0.2748, allocations: 0.9008 MB / 376.9 MB, free: 22.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007224/0.2756, allocations: 366 kB / 377.3 MB, free: 22.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/0.2756, allocations: 21.77 kB / 377.3 MB, free: 22.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.2757, allocations: 42.64 kB / 377.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.194e-06/0.2757, allocations: 3.75 kB / 377.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.00473/0.2804, allocations: 1.781 MB / 379.2 MB, free: 21.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2805, allocations: 83.8 kB / 379.2 MB, free: 21.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.2817, allocations: 0.9738 MB / 380.2 MB, free: 20.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.2818, allocations: 39.58 kB / 380.2 MB, free: 20.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.2821, allocations: 0.5244 MB / 380.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.2822, allocations: 224.8 kB / 381 MB, free: 20.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.2824, allocations: 163.8 kB / 381.2 MB, free: 20.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.2825, allocations: 335.3 kB / 381.5 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008559/0.2834, allocations: 342.1 kB / 381.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009972/0.2844, allocations: 0.5223 MB / 382.3 MB, free: 19.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.286, allocations: 0.8254 MB / 383.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.2861, allocations: 1.188 kB / 383.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002284/0.2884, allocations: 1.024 MB / 384.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.2884, allocations: 7.5 kB / 384.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.2884, allocations: 4.25 kB / 384.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/0.2884, allocations: 10.81 kB / 384.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.2897, allocations: 288 kB / 384.5 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.702e-05/0.2897, allocations: 14.61 kB / 384.5 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/0.2906, allocations: 68.42 kB / 384.6 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/0.2907, allocations: 35.95 kB / 384.6 MB, free: 18.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0004457/0.2912, allocations: 287.5 kB / 384.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.2913, allocations: 102.1 kB / 385 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.2924, allocations: 388.4 kB / 385.4 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.2924, allocations: 7.25 kB / 385.4 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.2924, allocations: 0 / 385.4 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.2925, allocations: 6.453 kB / 385.4 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.2961, allocations: 2.315 MB / 387.7 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.2961, allocations: 7.312 kB / 387.7 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008027/0.2969, allocations: 201.8 kB / 387.9 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.2969, allocations: 9.938 kB / 387.9 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.297, allocations: 23.06 kB / 387.9 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231e-05/0.297, allocations: 21.36 kB / 387.9 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/0.297, allocations: 13.12 kB / 388 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.2985, allocations: 1.02 MB / 389 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.2987, allocations: 189 kB / 389.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.2988, allocations: 25.27 kB / 389.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.2994, allocations: 50.86 kB / 389.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.2995, allocations: 66 kB / 389.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.2996, allocations: 29.17 kB / 389.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007445/0.3003, allocations: 0.6782 MB / 390 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.3003, allocations: 0 / 390 MB, free: 15.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007246/0.3011, allocations: 207.5 kB / 390.2 MB, free: 15.03 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0007915/0.3019, allocations: 389.7 kB / 390.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.3035, allocations: 0.7702 MB / 391.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3035, allocations: 2.75 kB / 391.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007024/0.3042, allocations: 368.6 kB / 391.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.3053, allocations: 202.1 kB / 391.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.3081, allocations: 1.905 MB / 393.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.3085, allocations: 1.017 MB / 394.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004756/0.309, allocations: 126.4 kB / 395 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.3093, allocations: 70.97 kB / 395 MB, free: 12.05 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3093, allocations: 0 / 395 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Templates: time 0.01662/0.3259, allocations: 10.56 MB / 405.6 MB, free: 2.43 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches