Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.0009337/0.0009337, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005225/0.006158, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001145/0.001145, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.002765, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.953/0.953, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08334/1.036, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.29e-05, allocations: 5.547 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006379/0.006402, allocations: 4.649 MB / 249.7 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.009138, allocations: 2.032 MB / 251.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/0.009425, allocations: 11.94 kB / 251.7 MB, free: 6.934 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007028/0.01013, allocations: 426.1 kB / 252.1 MB, free: 6.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008831/0.01101, allocations: 473.2 kB / 252.6 MB, free: 6.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006362/0.01165, allocations: 331.2 kB / 252.9 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.01269, allocations: 1.059 MB / 254 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.01305, allocations: 201 kB / 254.2 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009045/0.01396, allocations: 0.7028 MB / 254.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.0145, allocations: 427 kB / 255.3 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.01463, allocations: 92 kB / 255.4 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.01486, allocations: 128 kB / 255.5 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.01503, allocations: 187.4 kB / 255.7 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.01531, allocations: 255.4 kB / 255.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008451/0.01615, allocations: 0.6772 MB / 256.6 MB, free: 2.016 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.111e-05/0.01617, allocations: 0 / 256.6 MB, free: 2.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.01618, allocations: 0 / 256.6 MB, free: 2.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.0162, allocations: 0 / 256.6 MB, free: 2.016 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00175/0.01795, allocations: 1.269 MB / 257.9 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.01799, allocations: 12.62 kB / 257.9 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004092/0.0184, allocations: 213.9 kB / 258.1 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.01892, allocations: 406 kB / 258.5 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.01897, allocations: 45.69 kB / 258.5 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.01906, allocations: 60.42 kB / 258.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006091/0.01967, allocations: 490 kB / 259.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.01969, allocations: 0 / 259.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.01973, allocations: 24 kB / 259.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.01975, allocations: 16 kB / 259.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.02009, allocations: 185 kB / 259.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.02242, allocations: 1.459 MB / 260.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.02283, allocations: 240 kB / 261 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.02313, allocations: 142.2 kB / 261.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.02317, allocations: 16.48 kB / 261.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.02319, allocations: 46.94 kB / 261.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 2.044e-06/0.0232, allocations: 0 / 261.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.001692/0.02489, allocations: 0.7511 MB / 261.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.02492, allocations: 60 kB / 262 MB, free: 12.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006114/0.02553, allocations: 0.642 MB / 262.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.02557, allocations: 37.7 kB / 262.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.02575, allocations: 330.4 kB / 263 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.02589, allocations: 218.1 kB / 263.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.02606, allocations: 134.5 kB / 263.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.0262, allocations: 390.6 kB / 263.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.02633, allocations: 65.91 kB / 263.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.02654, allocations: 171.1 kB / 264 MB, free: 10.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.02691, allocations: 288.2 kB / 264.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02691, allocations: 0 / 264.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005173/0.02743, allocations: 345 kB / 264.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.02745, allocations: 4 kB / 264.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.02745, allocations: 4 kB / 264.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.02747, allocations: 4.281 kB / 264.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.02809, allocations: 195.8 kB / 264.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.0281, allocations: 8 kB / 264.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.02837, allocations: 27.92 kB / 264.8 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.02841, allocations: 19.98 kB / 264.8 MB, free: 9.484 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * 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.0001687/0.02857, allocations: 152.5 kB / 265 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.02868, allocations: 63.94 kB / 265 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.02917, allocations: 313.3 kB / 265.3 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.02918, allocations: 8 kB / 265.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.02918, allocations: 0 / 265.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.02919, allocations: 7.922 kB / 265.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.03055, allocations: 0.9258 MB / 266.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.03056, allocations: 0 / 266.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.03102, allocations: 147.8 kB / 266.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.03118, allocations: 75.47 kB / 266.5 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.03119, allocations: 8 kB / 266.5 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.03122, allocations: 16 kB / 266.5 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.03123, allocations: 4.312 kB / 266.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.03123, allocations: 11.94 kB / 266.5 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.03169, allocations: 444.3 kB / 267 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.03176, allocations: 12 kB / 267 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.03202, allocations: 23.98 kB / 267 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.0321, allocations: 56.3 kB / 267.1 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.03213, allocations: 15.98 kB / 267.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003496/0.03248, allocations: 331.4 kB / 267.4 MB, free: 6.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03248, allocations: 4 kB / 267.4 MB, free: 6.766 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004636/0.03294, allocations: 155.9 kB / 267.6 MB, free: 6.613 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.001363/0.03431, allocations: 485.4 kB / 268 MB, free: 6.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004478/0.03475, allocations: 291 kB / 268.3 MB, free: 6.039 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-05/0.03477, allocations: 11.94 kB / 268.3 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.03498, allocations: 156.8 kB / 268.5 MB, free: 5.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.03561, allocations: 194.8 kB / 268.7 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004332/0.03994, allocations: 1.431 MB / 270.1 MB, free: 4.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.0401, allocations: 172.2 kB / 270.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003239/0.04042, allocations: 80.97 kB / 270.4 MB, free: 3.914 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.04077, allocations: 173.3 kB / 270.5 MB, free: 3.742 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04077, allocations: 0 / 270.5 MB, free: 3.742 MB / 266.7 MB Notification: Performance of Templates: time 0.09721/0.138, allocations: 8.68 MB / 279.2 MB, free: 17.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8613214176148176]