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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008189/0.0008189, allocations: 84.34 kB / 21.43 MB, free: 3.121 MB / 18.57 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.003836/0.003836, allocations: 156.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8579/0.8579, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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=60000,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=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.572e-05, allocations: 3.547 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.004573/0.004589, allocations: 5.819 MB / 331.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.007002, allocations: 2.31 MB / 333.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.007279, allocations: 27.81 kB / 333.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.007799, allocations: 349.7 kB / 334.3 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006772/0.008476, allocations: 0.5547 MB / 334.8 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.008954, allocations: 459.1 kB / 335.3 MB, free: 5.797 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009272/0.009882, allocations: 1.615 MB / 336.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.01022, allocations: 326 kB / 337.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006807/0.0109, allocations: 0.9121 MB / 338.1 MB, free: 2.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.01133, allocations: 0.5298 MB / 338.7 MB, free: 2.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.01145, allocations: 160 kB / 338.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.01163, allocations: 192 kB / 339 MB, free: 2.051 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.0118, allocations: 334.8 kB / 339.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.01208, allocations: 482.8 kB / 339.8 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.01324, allocations: 2.021 MB / 341.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01325, allocations: 0 / 341.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01325, allocations: 0 / 341.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.01326, allocations: 0 / 341.8 MB, free: 15.22 MB / 314.7 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.001588/0.01485, allocations: 1.489 MB / 343.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.01488, allocations: 8.031 kB / 343.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.01516, allocations: 176.1 kB / 343.5 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.01588, allocations: 0.6699 MB / 344.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.01593, allocations: 74.38 kB / 344.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.279e-05/0.01602, allocations: 107.9 kB / 344.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.01707, allocations: 1.024 MB / 345.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.0171, allocations: 7.984 kB / 345.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.705e-05/0.01715, allocations: 40 kB / 345.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.01717, allocations: 24 kB / 345.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009756/0.01814, allocations: 0.8093 MB / 346.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.02097, allocations: 2.904 MB / 349.1 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.02204, allocations: 0.5945 MB / 349.7 MB, free: 7.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.02237, allocations: 290.4 kB / 350 MB, free: 6.797 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.0224, allocations: 8 kB / 350 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.02242, allocations: 38.56 kB / 350.1 MB, free: 6.742 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 1.553e-06/0.02243, allocations: 0 / 350.1 MB, free: 6.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002223/0.02465, allocations: 1.67 MB / 351.7 MB, free: 5.066 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.02469, allocations: 85.09 kB / 351.8 MB, free: 4.965 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.02538, allocations: 0.9069 MB / 352.7 MB, free: 4.047 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.02541, allocations: 33.7 kB / 352.8 MB, free: 4.008 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.02565, allocations: 0.5777 MB / 353.3 MB, free: 3.422 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.02576, allocations: 242 kB / 353.6 MB, free: 3.184 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.02591, allocations: 158.6 kB / 353.7 MB, free: 3.023 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.02603, allocations: 394.7 kB / 354.1 MB, free: 2.629 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/0.02645, allocations: 313.8 kB / 354.4 MB, free: 2.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.02695, allocations: 0.4911 MB / 354.9 MB, free: 1.754 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008568/0.02781, allocations: 0.7825 MB / 355.7 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02781, allocations: 3.938 kB / 355.7 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001111/0.02892, allocations: 0.9633 MB / 356.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.02893, allocations: 8 kB / 356.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.02894, allocations: 4 kB / 356.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.02896, allocations: 12 kB / 356.7 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/0.02952, allocations: 275.6 kB / 357 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.02953, allocations: 12 kB / 357 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.02983, allocations: 55.94 kB / 357 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.02987, allocations: 43.98 kB / 357.1 MB, free: 15.52 MB / 330.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 (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.0002426/0.03011, allocations: 285.5 kB / 357.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.03019, allocations: 99.33 kB / 357.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.03062, allocations: 349.4 kB / 357.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.03063, allocations: 4 kB / 357.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.03063, allocations: 0 / 357.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.03064, allocations: 7.984 kB / 357.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.03264, allocations: 1.995 MB / 359.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.03265, allocations: 4 kB / 359.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.03304, allocations: 216.4 kB / 360 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.03305, allocations: 8 kB / 360 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.03307, allocations: 20 kB / 360 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.03308, allocations: 15.98 kB / 360 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.03309, allocations: 11.88 kB / 360.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.03398, allocations: 1.01 MB / 361.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.03408, allocations: 103.4 kB / 361.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.03414, allocations: 24 kB / 361.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.03444, allocations: 51.95 kB / 361.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.03451, allocations: 67.72 kB / 361.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.03454, allocations: 27.98 kB / 361.3 MB, free: 11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004713/0.03501, allocations: 0.6201 MB / 362 MB, free: 10.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03501, allocations: 0 / 362 MB, free: 10.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004435/0.03545, allocations: 208 kB / 362.2 MB, free: 10.18 MB / 330.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.0005833/0.03603, allocations: 399.2 kB / 362.5 MB, free: 9.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008945/0.03693, allocations: 0.6952 MB / 363.2 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.03693, allocations: 4 kB / 363.2 MB, free: 9.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.03736, allocations: 350.2 kB / 363.6 MB, free: 8.879 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.03801, allocations: 210.8 kB / 363.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.03987, allocations: 1.932 MB / 365.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.04015, allocations: 439.7 kB / 366.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.04033, allocations: 80.47 kB / 366.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.04033, allocations: 0 / 366.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of Templates: time 0.01107/0.05141, allocations: 13.45 MB / 379.7 MB, free: 8.672 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.738533805124462]