Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001688/0.001688, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001691/0.001691, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 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.434/1.434, allocations: 225.7 MB / 252.5 MB, free: 12.84 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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 51.92 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2325, allocations: 52.18 MB / 423.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009107/0.2416, allocations: 5.72 MB / 428.8 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003889/0.2455, allocations: 2.1 MB / 430.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006178/0.2461, allocations: 23.88 kB / 430.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000808/0.2469, allocations: 353.8 kB / 431.3 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.2479, allocations: 496.6 kB / 431.7 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008851/0.2488, allocations: 459.3 kB / 432.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.2506, allocations: 1.53 MB / 433.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005873/0.2512, allocations: 333.9 kB / 434 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007095/0.2519, allocations: 0.5841 MB / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007944/0.2527, allocations: 0.6106 MB / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.2529, allocations: 156 kB / 435.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.2532, allocations: 188 kB / 435.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.2535, allocations: 327 kB / 435.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005636/0.254, allocations: 0.5367 MB / 436.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.2561, allocations: 1.95 MB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2561, allocations: 3.938 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2561, allocations: 0 / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.2561, allocations: 0 / 438.4 MB, free: 15.12 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003134/0.2592, allocations: 1.497 MB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2593, allocations: 12.03 kB / 439.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.2595, allocations: 140 kB / 440 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.2609, allocations: 0.6552 MB / 440.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/0.261, allocations: 74.36 kB / 440.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.2611, allocations: 104 kB / 440.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.2632, allocations: 1.067 MB / 441.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.2632, allocations: 0 / 441.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.71e-05/0.2633, allocations: 36 kB / 442 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.2633, allocations: 24 kB / 442 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.2656, allocations: 0.8757 MB / 442.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00523/0.2708, allocations: 2.887 MB / 445.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/0.2739, allocations: 0.8563 MB / 446.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008277/0.2747, allocations: 335 kB / 446.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.2747, allocations: 15.98 kB / 446.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.2748, allocations: 46.36 kB / 447 MB, free: 6.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.2748, allocations: 0 / 447 MB, free: 6.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004918/0.2797, allocations: 1.792 MB / 448.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.2798, allocations: 89.05 kB / 448.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.2809, allocations: 0.8558 MB / 449.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.2809, allocations: 33.7 kB / 449.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.2814, allocations: 0.5544 MB / 450.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.2816, allocations: 238 kB / 450.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.2819, allocations: 158.5 kB / 450.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.2821, allocations: 390.8 kB / 451.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009795/0.2831, allocations: 345.8 kB / 451.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.2842, allocations: 0.5182 MB / 451.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.2861, allocations: 0.8203 MB / 452.8 MB, free: 316 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2861, allocations: 7.938 kB / 452.8 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002438/0.2886, allocations: 1.005 MB / 453.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2886, allocations: 8 kB / 453.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.2886, allocations: 7.938 kB / 453.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.2886, allocations: 12 kB / 453.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.2899, allocations: 291.6 kB / 454.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.2899, allocations: 11.94 kB / 454.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/0.2907, allocations: 75.86 kB / 454.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.2908, allocations: 32 kB / 454.2 MB, free: 14.86 MB / 366.1 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 (108): * Single equations (assignments): 108 * 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.0004394/0.2912, allocations: 289.6 kB / 454.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.2914, allocations: 91.44 kB / 454.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.2924, allocations: 376.8 kB / 454.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.2924, allocations: 12 kB / 455 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2924, allocations: 0 / 455 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.2924, allocations: 0 / 455 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/0.2964, allocations: 2.008 MB / 457 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.2964, allocations: 8 kB / 457 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/0.2973, allocations: 203.7 kB / 457.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.2973, allocations: 16.22 kB / 457.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.2974, allocations: 23.98 kB / 457.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/0.2974, allocations: 11.94 kB / 457.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.2974, allocations: 11.94 kB / 457.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.2992, allocations: 1.029 MB / 458.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.2994, allocations: 95.41 kB / 458.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.2995, allocations: 23.98 kB / 458.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.3001, allocations: 55.94 kB / 458.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.3002, allocations: 67.67 kB / 458.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.3003, allocations: 31.98 kB / 458.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000787/0.3011, allocations: 0.581 MB / 459.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3011, allocations: 0 / 459.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008308/0.3019, allocations: 200 kB / 459.3 MB, free: 9.516 MB / 366.1 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.001483/0.3034, allocations: 413.5 kB / 459.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.3053, allocations: 0.7382 MB / 460.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3053, allocations: 0 / 460.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000845/0.3061, allocations: 349.4 kB / 460.8 MB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3072, allocations: 183 kB / 461 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.3105, allocations: 1.913 MB / 462.9 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.311, allocations: 430.8 kB / 463.3 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004721/0.3115, allocations: 110.4 kB / 463.4 MB, free: 5.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.3117, allocations: 63.42 kB / 463.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3117, allocations: 3.938 kB / 463.5 MB, free: 5.348 MB / 366.1 MB Notification: Performance of Templates: time 0.02023/0.3319, allocations: 11.45 MB / 474.9 MB, free: 10.07 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.804787535220385]