Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001809/0.001809, allocations: 103.6 kB / 21.19 MB, free: 0.6445 MB / 14.72 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.002139/0.002139, allocations: 217.1 kB / 24.49 MB, free: 3.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.801 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+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.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_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.231, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00619/0.2372, allocations: 4.249 MB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.2409, allocations: 1.898 MB / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004781/0.2413, allocations: 15.94 kB / 438.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007939/0.2421, allocations: 422.2 kB / 438.9 MB, free: 116 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.2431, allocations: 465.6 kB / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007039/0.2439, allocations: 331.4 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.2451, allocations: 1.04 MB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.2455, allocations: 215 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000565/0.246, allocations: 426.7 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.2467, allocations: 0.5411 MB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.2468, allocations: 96 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.247, allocations: 128 kB / 442.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.2473, allocations: 247.1 kB / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.2476, allocations: 374.1 kB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.249, allocations: 1.307 MB / 444 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.249, allocations: 0 / 444 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.249, allocations: 0 / 444 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.249, allocations: 3.938 kB / 444 MB, free: 10.97 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002234/0.2512, allocations: 1.162 MB / 445.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2513, allocations: 8.031 kB / 445.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.2518, allocations: 132.2 kB / 445.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009914/0.2528, allocations: 0.5192 MB / 445.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.2528, allocations: 45.31 kB / 445.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.2529, allocations: 60 kB / 446 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.2541, allocations: 0.6536 MB / 446.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.2542, allocations: 3.938 kB / 446.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.2542, allocations: 28 kB / 446.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.2542, allocations: 16 kB / 446.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.2554, allocations: 0.5166 MB / 447.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.259, allocations: 2.008 MB / 449.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/0.26, allocations: 445.7 kB / 449.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/0.2606, allocations: 270 kB / 449.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.2606, allocations: 4.438 kB / 449.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.2607, allocations: 46.92 kB / 449.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.355e-06/0.2607, allocations: 3.938 kB / 449.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.00435/0.265, allocations: 1.449 MB / 451.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.2651, allocations: 60.05 kB / 451.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2662, allocations: 0.9143 MB / 452.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.2662, allocations: 37.7 kB / 452.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.2665, allocations: 420.5 kB / 452.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.2667, allocations: 222.1 kB / 453 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.2669, allocations: 118.6 kB / 453.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.2671, allocations: 386.8 kB / 453.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/0.2677, allocations: 229.9 kB / 453.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.2683, allocations: 323.1 kB / 454.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.2694, allocations: 0.5521 MB / 454.6 MB, free: 116 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2694, allocations: 3.938 kB / 454.6 MB, free: 112 kB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001488/0.2709, allocations: 0.7117 MB / 455.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2709, allocations: 8 kB / 455.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2709, allocations: 0 / 455.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.2709, allocations: 8 kB / 455.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007982/0.2717, allocations: 163.8 kB / 455.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.2717, allocations: 7.938 kB / 455.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.2722, allocations: 35.97 kB / 455.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.2723, allocations: 24.06 kB / 455.6 MB, free: 15.14 MB / 366.1 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.000342/0.2726, allocations: 265.7 kB / 455.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.2728, allocations: 87.42 kB / 455.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.2741, allocations: 0.5949 MB / 456.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.2741, allocations: 12 kB / 456.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2741, allocations: 3.938 kB / 456.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2741, allocations: 3.984 kB / 456.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.2768, allocations: 1.465 MB / 458 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2768, allocations: 3.938 kB / 458 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.2774, allocations: 123.9 kB / 458.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.2774, allocations: 4 kB / 458.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.2775, allocations: 20.31 kB / 458.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.2775, allocations: 15.92 kB / 458.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.2775, allocations: 7.938 kB / 458.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.2787, allocations: 0.7222 MB / 458.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.279, allocations: 131.3 kB / 459 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.744e-05/0.2791, allocations: 12 kB / 459 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.2796, allocations: 35.97 kB / 459.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.2797, allocations: 48.3 kB / 459.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.2797, allocations: 23.94 kB / 459.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008221/0.2805, allocations: 0.6552 MB / 459.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2805, allocations: 0 / 459.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005961/0.2811, allocations: 148 kB / 459.9 MB, free: 10.64 MB / 366.1 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.001447/0.2826, allocations: 401 kB / 460.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.2838, allocations: 0.5231 MB / 460.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.2838, allocations: 4 kB / 460.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005661/0.2844, allocations: 267.2 kB / 461.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.2852, allocations: 121.6 kB / 461.2 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.288, allocations: 1.642 MB / 462.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.2884, allocations: 379.7 kB / 463.2 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.2886, allocations: 67.39 kB / 463.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2886, allocations: 0 / 463.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of Templates: time 0.01559/0.3042, allocations: 10.27 MB / 473.6 MB, free: 13.09 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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: 8.236776971025392]