Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001308, allocations: 109 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 8.965 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.95 kB / 306.9 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09901, allocations: 50.53 MB / 357.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007879/0.1069, allocations: 6.523 MB / 364 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004253/0.1112, allocations: 2.357 MB / 366.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009623/0.1122, allocations: 19.94 kB / 366.3 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.1134, allocations: 306.5 kB / 366.6 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.115, allocations: 485.2 kB / 367.1 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.1161, allocations: 399.6 kB / 367.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.1181, allocations: 1.46 MB / 369 MB, free: 2.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007588/0.1188, allocations: 455.5 kB / 369.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009012/0.1197, allocations: 0.5019 MB / 369.9 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.1208, allocations: 0.6261 MB / 370.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000303/0.1211, allocations: 80 kB / 370.6 MB, free: 1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.1215, allocations: 104 kB / 370.7 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.1219, allocations: 254.9 kB / 371 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007371/0.1226, allocations: 0.5984 MB / 371.6 MB, free: 48 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1636/0.2863, allocations: 1.588 MB / 373.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2863, allocations: 2.625 kB / 373.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2863, allocations: 1.25 kB / 373.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.2864, allocations: 0 / 373.2 MB, free: 12.63 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002975/0.2893, allocations: 1.535 MB / 374.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2894, allocations: 11.91 kB / 374.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/0.29, allocations: 160.1 kB / 374.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.291, allocations: 0.7251 MB / 375.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.2911, allocations: 82.19 kB / 375.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.2913, allocations: 96.94 kB / 375.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.2932, allocations: 0.9834 MB / 376.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.2933, allocations: 7.906 kB / 376.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.2934, allocations: 37.59 kB / 376.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.2934, allocations: 23.22 kB / 376.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.2951, allocations: 0.8221 MB / 377.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005276/0.3004, allocations: 3.679 MB / 381.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.3024, allocations: 0.6177 MB / 381.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.303, allocations: 329.7 kB / 382.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/0.3031, allocations: 15.62 kB / 382.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3031, allocations: 39.08 kB / 382.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.585e-06/0.3031, allocations: 4 kB / 382.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004216/0.3073, allocations: 1.665 MB / 384 MB, free: 8.172 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.3074, allocations: 83.83 kB / 384 MB, free: 8.078 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.3087, allocations: 1.037 MB / 385.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.3088, allocations: 45.05 kB / 385.1 MB, free: 7.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.3091, allocations: 0.5372 MB / 385.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.3092, allocations: 234.8 kB / 385.9 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.3095, allocations: 166.6 kB / 386.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.3096, allocations: 341.8 kB / 386.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007269/0.3103, allocations: 309.1 kB / 386.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007843/0.3111, allocations: 499.6 kB / 387.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.3125, allocations: 0.7872 MB / 388 MB, free: 5.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3125, allocations: 2.25 kB / 388 MB, free: 5.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00204/0.3146, allocations: 0.9659 MB / 388.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3146, allocations: 8.188 kB / 388.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3146, allocations: 4.75 kB / 389 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.3147, allocations: 10.53 kB / 389 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.3158, allocations: 278.5 kB / 389.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.3159, allocations: 16.94 kB / 389.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/0.3168, allocations: 53.92 kB / 389.3 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.3169, allocations: 34.45 kB / 389.3 MB, free: 5.289 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 (112): * Single equations (assignments): 112 * 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.0004479/0.3174, allocations: 294.6 kB / 389.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.3175, allocations: 104.5 kB / 389.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/0.3183, allocations: 352.1 kB / 390.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.3184, allocations: 7.812 kB / 390.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.3184, allocations: 0 / 390.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.3184, allocations: 5 kB / 390.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/0.3219, allocations: 2.297 MB / 392.4 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.322, allocations: 6.812 kB / 392.4 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/0.3228, allocations: 211.5 kB / 392.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.3228, allocations: 13.56 kB / 392.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.3229, allocations: 19.44 kB / 392.6 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/0.3229, allocations: 18.86 kB / 392.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.3229, allocations: 15 kB / 392.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.3244, allocations: 1.024 MB / 393.7 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.3247, allocations: 189.2 kB / 393.9 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.3248, allocations: 27.14 kB / 393.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006639/0.3255, allocations: 50.67 kB / 393.9 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.3256, allocations: 59.84 kB / 394 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.3256, allocations: 28.27 kB / 394 MB, free: 2.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008836/0.3265, allocations: 0.7224 MB / 394.7 MB, free: 1.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3265, allocations: 0 / 394.7 MB, free: 1.758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008596/0.3274, allocations: 215.6 kB / 395 MB, free: 1.73 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.0008054/0.3282, allocations: 380.7 kB / 395.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3298, allocations: 0.7246 MB / 396.1 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3298, allocations: 1.25 kB / 396.1 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007337/0.3305, allocations: 364.6 kB / 396.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.3319, allocations: 206.4 kB / 396.6 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.3349, allocations: 2.403 MB / 399 MB, free: 15.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.3355, allocations: 1.027 MB / 400 MB, free: 14.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.3358, allocations: 85.12 kB / 400.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3358, allocations: 0 / 400.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of Templates: time 0.01735/0.3532, allocations: 13.36 MB / 413.5 MB, free: 1.863 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches