Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008743/0.0008743, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 141.7 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.034/1.034, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.502e-05, allocations: 2.312 kB / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004305/0.00432, allocations: 4.547 MB / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.006772, allocations: 1.83 MB / 274.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.007035, allocations: 15.94 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.007606, allocations: 410.2 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.008181, allocations: 437.4 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.008635, allocations: 323.2 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.009454, allocations: 1.051 MB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.00969, allocations: 197 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/0.01011, allocations: 0.5926 MB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.01045, allocations: 411 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.982e-05/0.01053, allocations: 96 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.01066, allocations: 131.9 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.01078, allocations: 231.2 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.01096, allocations: 291.2 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.01147, allocations: 0.7007 MB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.01147, allocations: 0 / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01148, allocations: 0 / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.01148, allocations: 0 / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001015/0.0125, allocations: 1.094 MB / 280.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.01253, allocations: 12.92 kB / 280.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.01263, allocations: 104.8 kB / 280.9 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.013, allocations: 393.2 kB / 281.3 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.01304, allocations: 53.69 kB / 281.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.01309, allocations: 60.38 kB / 281.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.01354, allocations: 486.4 kB / 281.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.01356, allocations: 3.938 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.01358, allocations: 28 kB / 281.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.01359, allocations: 12 kB / 281.9 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.01383, allocations: 189 kB / 282.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.0154, allocations: 1.448 MB / 283.6 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.01566, allocations: 240.5 kB / 283.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.01585, allocations: 154.2 kB / 283.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.01588, allocations: 8.5 kB / 284 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.0159, allocations: 39.06 kB / 284 MB, free: 6.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 1.562e-06/0.0159, allocations: 0 / 284 MB, free: 6.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001137/0.01704, allocations: 0.7408 MB / 284.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.01706, allocations: 59.91 kB / 284.8 MB, free: 5.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.01744, allocations: 0.6225 MB / 285.4 MB, free: 4.844 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.01747, allocations: 37.7 kB / 285.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.0176, allocations: 325.7 kB / 285.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.24e-05/0.01769, allocations: 214.1 kB / 286 MB, free: 4.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.0178, allocations: 122.6 kB / 286.1 MB, free: 4.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.0179, allocations: 390.5 kB / 286.5 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/0.018, allocations: 65.97 kB / 286.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.01814, allocations: 179 kB / 286.7 MB, free: 3.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.01838, allocations: 275.6 kB / 287 MB, free: 3.176 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01839, allocations: 4 kB / 287 MB, free: 3.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000333/0.01872, allocations: 333.1 kB / 287.3 MB, free: 2.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.01873, allocations: 4 kB / 287.3 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01874, allocations: 4 kB / 287.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.01875, allocations: 4 kB / 287.3 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.01914, allocations: 188 kB / 287.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.01915, allocations: 8 kB / 287.5 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.01932, allocations: 31.91 kB / 287.6 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.01934, allocations: 20 kB / 287.6 MB, free: 2.586 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 (83): * Single equations (assignments): 83 * 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.0001276/0.01947, allocations: 140.5 kB / 287.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.01954, allocations: 63.94 kB / 287.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.01987, allocations: 322.2 kB / 288.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01988, allocations: 8 kB / 288.1 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01988, allocations: 3.984 kB / 288.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01988, allocations: 0 / 288.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.02078, allocations: 0.921 MB / 289 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.02078, allocations: 4 kB / 289 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.02106, allocations: 139.8 kB / 289.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.02106, allocations: 7.938 kB / 289.2 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.02108, allocations: 8 kB / 289.2 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.02108, allocations: 4 kB / 289.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02109, allocations: 4 kB / 289.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.02139, allocations: 445.5 kB / 289.6 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.02149, allocations: 75.47 kB / 289.7 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.02153, allocations: 8 kB / 289.7 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.02168, allocations: 27.98 kB / 289.7 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.02174, allocations: 52.3 kB / 289.8 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.02176, allocations: 19.98 kB / 289.8 MB, free: 224 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.1031/0.1249, allocations: 311.1 kB / 290.1 MB, free: 28.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1249, allocations: 0.5 kB / 290.1 MB, free: 28.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005447/0.1254, allocations: 147.2 kB / 290.2 MB, free: 28.35 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 (61): * Single equations (assignments): 61 * 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.0008999/0.1263, allocations: 467.4 kB / 290.7 MB, free: 28.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004144/0.1267, allocations: 286.3 kB / 291 MB, free: 28.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/0.1267, allocations: 7.438 kB / 291 MB, free: 28.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.1269, allocations: 151.8 kB / 291.1 MB, free: 28.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.1273, allocations: 129.2 kB / 291.3 MB, free: 28.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.1289, allocations: 1.332 MB / 292.6 MB, free: 27.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.129, allocations: 170.1 kB / 292.8 MB, free: 27.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.1292, allocations: 84.02 kB / 292.8 MB, free: 27.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.1295, allocations: 167.6 kB / 293 MB, free: 27.43 MB / 266.7 MB Notification: Performance of SimCode: time 1.263e-06/0.1295, allocations: 0 / 293 MB, free: 27.43 MB / 266.7 MB Notification: Performance of Templates: time 0.01148/0.141, allocations: 8.078 MB / 301.1 MB, free: 25.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7882794719189405]