Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 164.5 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.893e-05, allocations: 6.109 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008775/0.008804, allocations: 5.643 MB / 256 MB, free: 2.16 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004296/0.0131, allocations: 2.058 MB / 258.1 MB, free: 92 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005932/0.01369, allocations: 23.88 kB / 258.1 MB, free: 68 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008972/0.01459, allocations: 361.7 kB / 258.4 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.0158, allocations: 0.4963 MB / 258.9 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009345/0.01673, allocations: 435.3 kB / 259.4 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.0186, allocations: 1.588 MB / 260.9 MB, free: 13.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005917/0.01919, allocations: 329.8 kB / 261.3 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.02044, allocations: 0.8732 MB / 262.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007579/0.0212, allocations: 0.5221 MB / 262.7 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.02141, allocations: 160 kB / 262.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.02174, allocations: 188 kB / 263 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003355/0.02207, allocations: 334.9 kB / 263.3 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005557/0.02263, allocations: 470.9 kB / 263.8 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.02492, allocations: 1.994 MB / 265.8 MB, free: 8.324 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.02493, allocations: 4 kB / 265.8 MB, free: 8.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02493, allocations: 0 / 265.8 MB, free: 8.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.02495, allocations: 0 / 265.8 MB, free: 8.32 MB / 250.7 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.003309/0.02826, allocations: 1.489 MB / 267.3 MB, free: 6.797 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.02829, allocations: 8.031 kB / 267.3 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003773/0.02867, allocations: 208.1 kB / 267.5 MB, free: 6.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.03006, allocations: 0.6817 MB / 268.2 MB, free: 5.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.912e-05/0.03015, allocations: 74.38 kB / 268.2 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.03032, allocations: 96.38 kB / 268.3 MB, free: 5.707 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.0326, allocations: 1.06 MB / 269.4 MB, free: 4.621 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.03264, allocations: 7.891 kB / 269.4 MB, free: 4.613 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.86e-05/0.03273, allocations: 44 kB / 269.5 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.03276, allocations: 20 kB / 269.5 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.03491, allocations: 0.8796 MB / 270.3 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005531/0.04044, allocations: 2.912 MB / 273.3 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.04366, allocations: 0.8712 MB / 274.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009031/0.04456, allocations: 337.9 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.04462, allocations: 11.94 kB / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.04466, allocations: 42.56 kB / 274.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.285e-06/0.04466, allocations: 4 kB / 274.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.005582/0.05024, allocations: 1.82 MB / 276.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.05031, allocations: 85.11 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.0516, allocations: 0.848 MB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.05165, allocations: 41.7 kB / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.05214, allocations: 0.5466 MB / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.05239, allocations: 238 kB / 278.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.05267, allocations: 158.5 kB / 278.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002671/0.05294, allocations: 394.7 kB / 278.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009974/0.05394, allocations: 341.8 kB / 279 MB, free: 10.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.05517, allocations: 0.5262 MB / 279.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.05738, allocations: 0.8241 MB / 280.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.05739, allocations: 0 / 280.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002768/0.06016, allocations: 1.04 MB / 281.4 MB, free: 8.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.06019, allocations: 8 kB / 281.4 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.0602, allocations: 4 kB / 281.4 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-05/0.06024, allocations: 19.92 kB / 281.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.06162, allocations: 283.6 kB / 281.7 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.421e-05/0.06164, allocations: 11.94 kB / 281.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000826/0.06247, allocations: 67.92 kB / 281.7 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.06254, allocations: 35.98 kB / 281.8 MB, free: 7.887 MB / 266.7 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.000507/0.06305, allocations: 289.6 kB / 282.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.06329, allocations: 119.4 kB / 282.2 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.06437, allocations: 373 kB / 282.5 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.06438, allocations: 8 kB / 282.5 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.06439, allocations: 7.938 kB / 282.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.0644, allocations: 3.984 kB / 282.6 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004338/0.06874, allocations: 2.01 MB / 284.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.06875, allocations: 8 kB / 284.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009383/0.06969, allocations: 199.7 kB / 284.8 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/0.06971, allocations: 12.16 kB / 284.8 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.06976, allocations: 31.92 kB / 284.8 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.06977, allocations: 8 kB / 284.8 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/0.06978, allocations: 11.94 kB / 284.8 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.07186, allocations: 1.033 MB / 285.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.07207, allocations: 107.3 kB / 286 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.07219, allocations: 19.98 kB / 286 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000679/0.07287, allocations: 51.95 kB / 286 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.07302, allocations: 71.72 kB / 286.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.07307, allocations: 24 kB / 286.1 MB, free: 3.273 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009568/0.07403, allocations: 0.581 MB / 286.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07403, allocations: 0 / 286.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009268/0.07495, allocations: 207.9 kB / 286.9 MB, free: 2.496 MB / 266.7 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.001739/0.07669, allocations: 401 kB / 287.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.07869, allocations: 0.7266 MB / 288 MB, free: 1.441 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.0787, allocations: 4.062 kB / 288 MB, free: 1.438 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008945/0.07959, allocations: 361 kB / 288.4 MB, free: 1.086 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.08081, allocations: 203 kB / 288.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.08464, allocations: 1.883 MB / 290.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.08519, allocations: 430.8 kB / 290.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005263/0.08571, allocations: 122.3 kB / 291 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.08597, allocations: 72.47 kB / 291.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.08597, allocations: 0 / 291.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of Templates: time 0.0216/0.1076, allocations: 10.22 MB / 301.3 MB, free: 3.996 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.690756395924836]