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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] 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] "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.002639/0.002639, allocations: 67.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2356, allocations: 53.32 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008967/0.2446, allocations: 6.607 MB / 438.7 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004554/0.2491, allocations: 2.404 MB / 441.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007772/0.2499, allocations: 16 kB / 441.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009686/0.2509, allocations: 369.7 kB / 441.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.2523, allocations: 0.5394 MB / 442 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009452/0.2532, allocations: 451 kB / 442.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.2549, allocations: 1.565 MB / 444 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005399/0.2555, allocations: 359.2 kB / 444.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007043/0.2562, allocations: 0.5918 MB / 444.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008833/0.257, allocations: 0.6809 MB / 445.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.2572, allocations: 167.9 kB / 445.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.2575, allocations: 196 kB / 446 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.2578, allocations: 331 kB / 446.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006229/0.2585, allocations: 0.6881 MB / 447 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.2606, allocations: 1.973 MB / 449 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.2606, allocations: 11.98 kB / 449 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2606, allocations: 0 / 449 MB, free: 6.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.2606, allocations: 0 / 449 MB, free: 6.375 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.003045/0.2636, allocations: 1.576 MB / 450.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2637, allocations: 8.031 kB / 450.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005608/0.2642, allocations: 168.1 kB / 450.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.2655, allocations: 0.7353 MB / 451.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/0.2655, allocations: 74 kB / 451.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.2657, allocations: 100 kB / 451.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.2675, allocations: 0.9779 MB / 452.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.2675, allocations: 7.938 kB / 452.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.2676, allocations: 40 kB / 452.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.2677, allocations: 20 kB / 452.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.2694, allocations: 0.8211 MB / 453.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005609/0.275, allocations: 3.664 MB / 457.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.2771, allocations: 0.5906 MB / 457.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/0.2777, allocations: 302.5 kB / 458 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.2777, allocations: 8 kB / 458 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.2778, allocations: 43.47 kB / 458.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.104e-06/0.2778, allocations: 0 / 458.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004449/0.2822, allocations: 1.69 MB / 459.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.2823, allocations: 85.11 kB / 459.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.2836, allocations: 1.042 MB / 460.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.2837, allocations: 33.7 kB / 460.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000456/0.2841, allocations: 0.5661 MB / 461.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.2843, allocations: 242 kB / 461.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.2846, allocations: 170.5 kB / 461.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2848, allocations: 341.9 kB / 462.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007833/0.2856, allocations: 305.8 kB / 462.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009336/0.2865, allocations: 0.4914 MB / 463 MB, free: 7.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.2881, allocations: 0.7795 MB / 463.8 MB, free: 6.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2881, allocations: 0 / 463.8 MB, free: 6.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002147/0.2903, allocations: 0.9723 MB / 464.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.2903, allocations: 4 kB / 464.8 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.2903, allocations: 8 kB / 464.8 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.2903, allocations: 8.406 kB / 464.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.2916, allocations: 275.6 kB / 465.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.2916, allocations: 15.94 kB / 465.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/0.2924, allocations: 59.94 kB / 465.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.2924, allocations: 35.94 kB / 465.2 MB, free: 5.617 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.0004529/0.2929, allocations: 293.5 kB / 465.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.2931, allocations: 115.3 kB / 465.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008429/0.2939, allocations: 350.8 kB / 465.9 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2939, allocations: 0 / 465.9 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2939, allocations: 0 / 465.9 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.2942, allocations: 188.4 kB / 466.1 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.2943, allocations: 15.94 kB / 466.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/0.2949, allocations: 43.95 kB / 466.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.295, allocations: 47.88 kB / 466.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002217/0.2972, allocations: 0.8863 MB / 467.1 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001625/0.2989, allocations: 0.9295 MB / 468 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006377/0.2995, allocations: 275.3 kB / 468.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.3005, allocations: 0.719 MB / 469 MB, free: 1.711 MB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.3005, allocations: 0 / 469 MB, free: 1.711 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003125/0.3036, allocations: 0.8632 MB / 469.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of SimCode: time 0.003189/0.3068, allocations: 2.173 MB / 472 MB, free: 14.79 MB / 382.1 MB Notification: Performance of Templates: time 0.0255/0.3323, allocations: 14.11 MB / 486.2 MB, free: 0.8203 MB / 382.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.657830643001944]