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.0009254/0.0009255, allocations: 94.27 kB / 16.65 MB, free: 6.586 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.0009549/0.0009549, allocations: 185.2 kB / 17.57 MB, free: 6.203 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.296/1.296, allocations: 223.3 MB / 241.6 MB, free: 14.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002419/0.000242, allocations: 7.938 kB / 301.4 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09388/0.09413, allocations: 50.41 MB / 351.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006491/0.1007, allocations: 5.947 MB / 357.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.1037, allocations: 2.127 MB / 359.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/0.104, allocations: 19.94 kB / 359.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006166/0.1047, allocations: 310.5 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007745/0.1054, allocations: 429.4 kB / 360.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.1061, allocations: 411.5 kB / 361 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.1074, allocations: 1.421 MB / 362.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.108, allocations: 451.4 kB / 362.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.1084, allocations: 466 kB / 363.4 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005794/0.109, allocations: 0.5677 MB / 363.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.1091, allocations: 64 kB / 364 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.1093, allocations: 87.98 kB / 364.1 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.1095, allocations: 215 kB / 364.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.11, allocations: 0.5845 MB / 364.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.1114, allocations: 1.79 MB / 366.7 MB, free: 4.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1114, allocations: 8 kB / 366.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1114, allocations: 0 / 366.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1114, allocations: 0 / 366.7 MB, free: 4.551 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.002613/0.1141, allocations: 1.383 MB / 368.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1141, allocations: 8.031 kB / 368.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.1143, allocations: 127.4 kB / 368.2 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.1153, allocations: 0.7084 MB / 368.9 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.1155, allocations: 74.56 kB / 369 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.1156, allocations: 111.8 kB / 369.1 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.1176, allocations: 1.036 MB / 370.1 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.1177, allocations: 7.938 kB / 370.1 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.451e-05/0.1178, allocations: 40 kB / 370.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.1178, allocations: 20 kB / 370.2 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1592/0.277, allocations: 0.9426 MB / 371.1 MB, free: 23.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005823/0.2828, allocations: 3.679 MB / 374.8 MB, free: 22.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.2862, allocations: 1.097 MB / 375.9 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007629/0.287, allocations: 401.5 kB / 376.3 MB, free: 21.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.287, allocations: 10.56 kB / 376.3 MB, free: 21.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.287, allocations: 43.33 kB / 376.3 MB, free: 21.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.604e-06/0.287, allocations: 0 / 376.3 MB, free: 21.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005252/0.2923, allocations: 1.974 MB / 378.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.2924, allocations: 91.83 kB / 378.4 MB, free: 21.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.2936, allocations: 0.9752 MB / 379.4 MB, free: 20.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.2936, allocations: 37.48 kB / 379.4 MB, free: 20.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.2939, allocations: 0.5269 MB / 379.9 MB, free: 20.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.2941, allocations: 225.9 kB / 380.2 MB, free: 20 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.2942, allocations: 69.41 kB / 380.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.2943, allocations: 343.7 kB / 380.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009771/0.2952, allocations: 384.6 kB / 380.9 MB, free: 19.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.2963, allocations: 0.56 MB / 381.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.2981, allocations: 0.9042 MB / 382.4 MB, free: 18.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2981, allocations: 1.156 kB / 382.4 MB, free: 18.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00245/0.3006, allocations: 1.099 MB / 383.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3006, allocations: 8.125 kB / 383.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3006, allocations: 9.328 kB / 383.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.3007, allocations: 13.56 kB / 383.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.302, allocations: 317.4 kB / 383.8 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.302, allocations: 23.19 kB / 383.9 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008237/0.3028, allocations: 88.44 kB / 384 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.3029, allocations: 37.48 kB / 384 MB, free: 18.23 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.0003781/0.3033, allocations: 283.1 kB / 384.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3034, allocations: 98.84 kB / 384.4 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3044, allocations: 425.5 kB / 384.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.3045, allocations: 6.812 kB / 384.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.3045, allocations: 5.281 kB / 384.8 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.3045, allocations: 7.547 kB / 384.8 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.3082, allocations: 2.359 MB / 387.2 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.3082, allocations: 6.375 kB / 387.2 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008821/0.3091, allocations: 236.3 kB / 387.4 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.3091, allocations: 10.34 kB / 387.4 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.3092, allocations: 26.09 kB / 387.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.3092, allocations: 14.47 kB / 387.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.3092, allocations: 6.75 kB / 387.5 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.3107, allocations: 1.074 MB / 388.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.3109, allocations: 190.4 kB / 388.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.311, allocations: 25.59 kB / 388.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.3116, allocations: 62.08 kB / 388.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3118, allocations: 73.61 kB / 388.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.3118, allocations: 28.64 kB / 388.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000714/0.3125, allocations: 0.6819 MB / 389.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3125, allocations: 3.969 kB / 389.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007439/0.3133, allocations: 211.1 kB / 389.8 MB, free: 14.96 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.0007767/0.3141, allocations: 382.2 kB / 390.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.3158, allocations: 0.8178 MB / 391 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3159, allocations: 1.219 kB / 391 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008052/0.3167, allocations: 389.4 kB / 391.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.3185, allocations: 262.1 kB / 391.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.3214, allocations: 2.381 MB / 394 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3218, allocations: 1.012 MB / 395 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005208/0.3223, allocations: 128.1 kB / 395.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.3225, allocations: 89.16 kB / 395.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3225, allocations: 0 / 395.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of Templates: time 0.01713/0.3397, allocations: 11.91 MB / 407.1 MB, free: 324 kB / 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/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