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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=60000,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=60000,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") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 215.1 kB / 19.8 MB, free: 2.559 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.439/1.439, allocations: 230.4 MB / 251.1 MB, free: 8.438 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.00196/0.00196, allocations: 71.83 kB / 369 MB, free: 6.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2342, allocations: 53.31 MB / 422.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008569/0.2427, allocations: 6.569 MB / 428.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004721/0.2475, allocations: 2.381 MB / 431.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007866/0.2482, allocations: 19.94 kB / 431.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008666/0.2491, allocations: 365.7 kB / 431.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.2504, allocations: 0.5471 MB / 432.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009757/0.2513, allocations: 451.3 kB / 432.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.253, allocations: 1.569 MB / 434.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005446/0.2535, allocations: 357.6 kB / 434.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007455/0.2543, allocations: 0.5918 MB / 435.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008386/0.2551, allocations: 0.6887 MB / 435.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.2553, allocations: 160 kB / 435.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.2556, allocations: 192 kB / 436.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.2559, allocations: 330.9 kB / 436.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006689/0.2566, allocations: 0.6843 MB / 437.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.2588, allocations: 1.988 MB / 439.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2588, allocations: 0 / 439.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2588, allocations: 0 / 439.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.2588, allocations: 0 / 439.1 MB, free: 6.898 MB / 350.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.003038/0.2618, allocations: 1.572 MB / 440.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2619, allocations: 16.02 kB / 440.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.2624, allocations: 156.1 kB / 440.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.2636, allocations: 0.747 MB / 441.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.544e-05/0.2636, allocations: 77.94 kB / 441.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.2638, allocations: 99.98 kB / 441.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.2657, allocations: 0.9818 MB / 442.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.2657, allocations: 4 kB / 442.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.2658, allocations: 36 kB / 442.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.2658, allocations: 24 kB / 442.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.2676, allocations: 0.8171 MB / 443.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00574/0.2733, allocations: 3.652 MB / 447.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.2753, allocations: 0.6023 MB / 447.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.276, allocations: 298.4 kB / 448.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.276, allocations: 11.98 kB / 448.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.276, allocations: 47.47 kB / 448.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.304e-06/0.276, allocations: 0 / 448.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004394/0.2804, allocations: 1.682 MB / 449.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.2805, allocations: 89.11 kB / 450 MB, free: 11.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.282, allocations: 1.038 MB / 451.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.282, allocations: 37.7 kB / 451.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/0.2825, allocations: 0.5623 MB / 451.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.2827, allocations: 242 kB / 451.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.283, allocations: 162.6 kB / 452 MB, free: 9.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2831, allocations: 345.9 kB / 452.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007417/0.2839, allocations: 305.8 kB / 452.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008873/0.2848, allocations: 499.1 kB / 453.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.2863, allocations: 0.7835 MB / 454 MB, free: 7.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2863, allocations: 0 / 454 MB, free: 7.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002111/0.2884, allocations: 0.9647 MB / 454.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.2884, allocations: 8 kB / 454.9 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.2885, allocations: 11.98 kB / 454.9 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.2885, allocations: 8 kB / 454.9 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.2897, allocations: 283.7 kB / 455.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.2897, allocations: 11.98 kB / 455.2 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.2905, allocations: 51.89 kB / 455.3 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.2905, allocations: 36 kB / 455.3 MB, free: 6.141 MB / 366.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.0004737/0.291, allocations: 304.5 kB / 455.6 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.2912, allocations: 107.3 kB / 455.7 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000809/0.292, allocations: 345.6 kB / 456.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.292, allocations: 8 kB / 456.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.292, allocations: 0 / 456.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.292, allocations: 11.92 kB / 456.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.296, allocations: 2.294 MB / 458.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.296, allocations: 4 kB / 458.4 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/0.2968, allocations: 212.1 kB / 458.6 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.2969, allocations: 12 kB / 458.6 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/0.2969, allocations: 20 kB / 458.6 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.2969, allocations: 11.98 kB / 458.6 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.2969, allocations: 11.94 kB / 458.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.2986, allocations: 1.031 MB / 459.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.2989, allocations: 200.4 kB / 459.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.299, allocations: 20 kB / 459.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.2996, allocations: 47.95 kB / 459.9 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.2998, allocations: 67.75 kB / 460 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.2998, allocations: 31.98 kB / 460 MB, free: 1.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.3008, allocations: 0.7151 MB / 460.7 MB, free: 436 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3008, allocations: 3.938 kB / 460.7 MB, free: 432 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008161/0.3017, allocations: 208 kB / 460.9 MB, free: 224 kB / 366.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.001358/0.303, allocations: 400.2 kB / 461.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.3047, allocations: 0.6938 MB / 462 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3047, allocations: 1.312 kB / 462 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007729/0.3054, allocations: 348 kB / 462.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.3067, allocations: 223.5 kB / 462.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.3101, allocations: 1.966 MB / 464.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/0.3108, allocations: 1.03 MB / 465.6 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005369/0.3113, allocations: 131.5 kB / 465.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.3115, allocations: 75.41 kB / 465.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3115, allocations: 0 / 465.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of Templates: time 0.02177/0.3333, allocations: 11.3 MB / 477.1 MB, free: 196 kB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/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) [Timeout 660] Reference file matches