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.001816/0.001816, allocations: 108.2 kB / 19.04 MB, free: 3.25 MB / 14.72 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.002048/0.002048, allocations: 200.4 kB / 22.22 MB, free: 64 kB / 14.72 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.415/1.415, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001547/0.001547, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2359, allocations: 52.13 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006715/0.2426, allocations: 4.64 MB / 425.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.2462, allocations: 1.823 MB / 427.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005521/0.2468, allocations: 12 kB / 427.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009007/0.2477, allocations: 422.2 kB / 427.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.2487, allocations: 425.7 kB / 428.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000767/0.2494, allocations: 319.4 kB / 428.5 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.2506, allocations: 1.016 MB / 429.5 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/0.251, allocations: 212.2 kB / 429.7 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004544/0.2514, allocations: 414.7 kB / 430.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.252, allocations: 0.5217 MB / 430.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.2522, allocations: 96 kB / 430.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.2524, allocations: 120 kB / 430.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.2526, allocations: 243.1 kB / 431.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.253, allocations: 461.6 kB / 431.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.2545, allocations: 1.276 MB / 432.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2545, allocations: 0 / 432.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2545, allocations: 0 / 432.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.2545, allocations: 4 kB / 432.8 MB, free: 3.133 MB / 334.1 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.002375/0.2569, allocations: 1.23 MB / 434 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2569, allocations: 8.031 kB / 434 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.2571, allocations: 104.3 kB / 434.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/0.258, allocations: 0.5558 MB / 434.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/0.2581, allocations: 45.69 kB / 434.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.2582, allocations: 64.06 kB / 434.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.2595, allocations: 0.648 MB / 435.5 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.2595, allocations: 3.953 kB / 435.5 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.2596, allocations: 28 kB / 435.5 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.2596, allocations: 12 kB / 435.5 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.261, allocations: 0.5633 MB / 436.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/0.2649, allocations: 2.533 MB / 438.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/0.2659, allocations: 469.7 kB / 439.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007335/0.2667, allocations: 282 kB / 439.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.2667, allocations: 8.422 kB / 439.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.2667, allocations: 39 kB / 439.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 3.326e-06/0.2668, allocations: 0 / 439.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004577/0.2713, allocations: 1.502 MB / 440.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.2714, allocations: 59.97 kB / 440.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.2726, allocations: 0.9419 MB / 441.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.2726, allocations: 37.7 kB / 441.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.273, allocations: 412.7 kB / 442.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.2731, allocations: 214.1 kB / 442.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.2733, allocations: 126.5 kB / 442.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2735, allocations: 330 kB / 443 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006031/0.2741, allocations: 245.9 kB / 443.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006947/0.2748, allocations: 343.1 kB / 443.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.276, allocations: 0.5635 MB / 444.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.276, allocations: 0 / 444.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001618/0.2776, allocations: 0.7387 MB / 444.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.2776, allocations: 7.938 kB / 444.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2777, allocations: 4 kB / 444.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.2777, allocations: 7.984 kB / 444.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.2785, allocations: 175.9 kB / 445 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.2785, allocations: 4 kB / 445 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.279, allocations: 43.95 kB / 445.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.2791, allocations: 24 kB / 445.1 MB, free: 6.453 MB / 350.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 (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.0003834/0.2795, allocations: 265.6 kB / 445.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.2796, allocations: 83.42 kB / 445.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.2811, allocations: 0.6358 MB / 446.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.2811, allocations: 8 kB / 446.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2811, allocations: 0 / 446.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2811, allocations: 7.984 kB / 446.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.2842, allocations: 1.799 MB / 447.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.2842, allocations: 7.938 kB / 447.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.2848, allocations: 131.8 kB / 448 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.2848, allocations: 4 kB / 448 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.2849, allocations: 19.98 kB / 448.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.2849, allocations: 8 kB / 448.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.2849, allocations: 7.938 kB / 448.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.2863, allocations: 0.7437 MB / 448.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.2866, allocations: 212.4 kB / 449 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.2867, allocations: 23.98 kB / 449.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.2871, allocations: 31.97 kB / 449.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2872, allocations: 44.31 kB / 449.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.2873, allocations: 23.94 kB / 449.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008921/0.2882, allocations: 0.6865 MB / 449.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2882, allocations: 0 / 449.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.2888, allocations: 152 kB / 450 MB, free: 1.375 MB / 350.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 (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.001372/0.2901, allocations: 379.8 kB / 450.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.2916, allocations: 0.5539 MB / 450.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2916, allocations: 0 / 450.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000647/0.2923, allocations: 274.2 kB / 451.2 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008498/0.2931, allocations: 123.7 kB / 451.3 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.2959, allocations: 1.599 MB / 452.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.2966, allocations: 0.9592 MB / 453.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004178/0.297, allocations: 97.03 kB / 454 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.2972, allocations: 55.42 kB / 454 MB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.2972, allocations: 4 kB / 454 MB, free: 13.37 MB / 366.1 MB Notification: Performance of Templates: time 0.01634/0.3136, allocations: 8.021 MB / 462 MB, free: 5.43 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.654729560017586]