Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=120000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=120000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.46/1.46, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 65.72 kB / 307.9 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09192, allocations: 50.54 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008131/0.1001, allocations: 6.531 MB / 365 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004039/0.1041, allocations: 2.377 MB / 367.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004593/0.1046, allocations: 19.94 kB / 367.4 MB, free: 4.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007551/0.1054, allocations: 369.7 kB / 367.7 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.1065, allocations: 0.5238 MB / 368.3 MB, free: 4.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.1073, allocations: 454.8 kB / 368.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.1089, allocations: 1.565 MB / 370.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006867/0.1096, allocations: 0.5212 MB / 370.8 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006933/0.1103, allocations: 0.584 MB / 371.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007479/0.111, allocations: 0.677 MB / 372 MB, free: 236 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.1112, allocations: 160 kB / 372.2 MB, free: 76 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.145/0.2562, allocations: 193.7 kB / 372.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004406/0.2567, allocations: 328.9 kB / 372.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.258, allocations: 0.6798 MB / 373.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.2604, allocations: 1.96 MB / 375.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2604, allocations: 1.031 kB / 375.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2604, allocations: 0 / 375.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.807e-05/0.2605, allocations: 3.562 kB / 375.4 MB, free: 11.13 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.003199/0.2637, allocations: 1.536 MB / 376.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.2637, allocations: 9.688 kB / 376.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006124/0.2643, allocations: 159.8 kB / 377.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.2654, allocations: 0.7291 MB / 377.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.2655, allocations: 84.22 kB / 377.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.2657, allocations: 93.22 kB / 378 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.2675, allocations: 0.9819 MB / 378.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.2675, allocations: 4.578 kB / 378.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/0.2676, allocations: 40.66 kB / 379 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.2676, allocations: 23.72 kB / 379 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.2693, allocations: 0.8185 MB / 379.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/0.2744, allocations: 3.676 MB / 383.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.2764, allocations: 0.6209 MB / 384.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/0.277, allocations: 319.1 kB / 384.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.2771, allocations: 12.11 kB / 384.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.2771, allocations: 37.81 kB / 384.5 MB, free: 7.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.325e-06/0.2771, allocations: 1.188 kB / 384.5 MB, free: 7.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004229/0.2813, allocations: 1.671 MB / 386.2 MB, free: 6.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.2814, allocations: 84.3 kB / 386.2 MB, free: 6.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.2827, allocations: 1.04 MB / 387.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.2828, allocations: 36.33 kB / 387.3 MB, free: 5.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.2831, allocations: 0.5459 MB / 387.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.2832, allocations: 234.6 kB / 388.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.2835, allocations: 168.9 kB / 388.3 MB, free: 5.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.2835, allocations: 337 kB / 388.6 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/0.2842, allocations: 307.6 kB / 388.9 MB, free: 4.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007807/0.285, allocations: 0.4919 MB / 389.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.2865, allocations: 0.7888 MB / 390.2 MB, free: 3.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2865, allocations: 2.375 kB / 390.2 MB, free: 3.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001997/0.2885, allocations: 0.9622 MB / 391.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2885, allocations: 13.94 kB / 391.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.2885, allocations: 5.594 kB / 391.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.2885, allocations: 9.875 kB / 391.2 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.2897, allocations: 276.7 kB / 391.4 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.502e-05/0.2898, allocations: 14.56 kB / 391.4 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009023/0.2907, allocations: 53 kB / 391.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.2908, allocations: 37.44 kB / 391.5 MB, free: 3.574 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.0004201/0.2912, allocations: 292.2 kB / 391.8 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.2914, allocations: 104.2 kB / 391.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/0.2921, allocations: 354.8 kB / 392.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.2922, allocations: 6.844 kB / 392.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.2922, allocations: 1.219 kB / 392.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.2922, allocations: 4.328 kB / 392.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/0.2956, allocations: 2.293 MB / 394.6 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-06/0.2956, allocations: 9.062 kB / 394.6 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008418/0.2965, allocations: 207 kB / 394.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.2965, allocations: 13.84 kB / 394.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.2965, allocations: 19 kB / 394.8 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.2966, allocations: 16.42 kB / 394.8 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.2966, allocations: 11.16 kB / 394.8 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.2981, allocations: 1.023 MB / 395.9 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.2984, allocations: 193.5 kB / 396.1 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.2985, allocations: 22.67 kB / 396.1 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/0.2992, allocations: 46.83 kB / 396.1 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.2993, allocations: 67.09 kB / 396.2 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.2993, allocations: 25.94 kB / 396.2 MB, free: 412 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008834/0.3002, allocations: 0.7218 MB / 396.9 MB, free: 0 / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3002, allocations: 336 / 396.9 MB, free: 0 / 302.1 MB Notification: Performance of remove unused functions: time 0.0009367/0.3012, allocations: 216.8 kB / 397.1 MB, free: 15.98 MB / 318.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.0013/0.3025, allocations: 388.3 kB / 397.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.3043, allocations: 0.7605 MB / 398.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3043, allocations: 0 / 398.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007365/0.3051, allocations: 363.5 kB / 398.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.3064, allocations: 218.4 kB / 398.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.3097, allocations: 2.004 MB / 400.9 MB, free: 13.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.3104, allocations: 1.03 MB / 401.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.3107, allocations: 85.72 kB / 402 MB, free: 13.08 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3107, allocations: 0 / 402 MB, free: 13.08 MB / 318.1 MB Notification: Performance of Templates: time 0.02132/0.3321, allocations: 13.38 MB / 415.3 MB, free: 384 kB / 318.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches