Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001287/0.001287, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001428/0.001428, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 55.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2241, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007948/0.2321, allocations: 5.841 MB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.2362, allocations: 2.283 MB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003803/0.2365, allocations: 27.88 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007463/0.2373, allocations: 349.8 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.2384, allocations: 0.5355 MB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.2392, allocations: 463.2 kB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.2408, allocations: 1.553 MB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005556/0.2413, allocations: 365.9 kB / 443.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.242, allocations: 0.6074 MB / 444.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008171/0.2428, allocations: 0.6848 MB / 445 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.243, allocations: 168 kB / 445.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.2434, allocations: 192 kB / 445.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.2436, allocations: 331 kB / 445.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005368/0.2442, allocations: 0.5561 MB / 446.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.2461, allocations: 1.988 MB / 448.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2461, allocations: 0 / 448.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2461, allocations: 3.938 kB / 448.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.2461, allocations: 0 / 448.2 MB, free: 6.707 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003006/0.2491, allocations: 1.497 MB / 449.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2492, allocations: 12.03 kB / 449.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000571/0.2497, allocations: 164.1 kB / 449.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.2511, allocations: 0.6852 MB / 450.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/0.2512, allocations: 74 kB / 450.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.2513, allocations: 96 kB / 450.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.2533, allocations: 1.032 MB / 451.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.2534, allocations: 7.984 kB / 451.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-05/0.2534, allocations: 39.98 kB / 451.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.2535, allocations: 24 kB / 451.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.2553, allocations: 0.8094 MB / 452.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005261/0.2605, allocations: 2.902 MB / 455.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.2628, allocations: 0.5961 MB / 456.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006342/0.2634, allocations: 301 kB / 456.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.2634, allocations: 8 kB / 456.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.2635, allocations: 46.88 kB / 456.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.024e-06/0.2635, allocations: 0 / 456.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004607/0.2681, allocations: 1.672 MB / 458.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/0.2682, allocations: 89.06 kB / 458.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.2694, allocations: 0.9108 MB / 459.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.2694, allocations: 37.7 kB / 459.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.2699, allocations: 0.5739 MB / 459.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.2702, allocations: 241.9 kB / 460 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.2705, allocations: 166.5 kB / 460.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.2707, allocations: 394.7 kB / 460.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000805/0.2715, allocations: 309.8 kB / 460.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009352/0.2724, allocations: 495.1 kB / 461.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.2741, allocations: 0.7902 MB / 462.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2741, allocations: 0 / 462.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002084/0.2762, allocations: 0.9517 MB / 463.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2762, allocations: 12.03 kB / 463.1 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.2762, allocations: 4 kB / 463.1 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.2762, allocations: 12 kB / 463.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.2775, allocations: 267.6 kB / 463.4 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.2775, allocations: 19.94 kB / 463.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.2783, allocations: 51.95 kB / 463.5 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.2783, allocations: 35.98 kB / 463.5 MB, free: 7 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 (112): * Single equations (assignments): 112 * 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.0004083/0.2787, allocations: 285.6 kB / 463.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.2789, allocations: 95.39 kB / 463.9 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000838/0.2797, allocations: 360.9 kB / 464.2 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.2798, allocations: 4 kB / 464.2 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.2798, allocations: 0 / 464.2 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.2798, allocations: 7.984 kB / 464.2 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003865/0.2836, allocations: 1.992 MB / 466.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.2836, allocations: 7.938 kB / 466.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009636/0.2846, allocations: 216.3 kB / 466.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.2846, allocations: 8 kB / 466.5 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.2847, allocations: 23.98 kB / 466.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/0.2847, allocations: 15.94 kB / 466.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.2847, allocations: 7.938 kB / 466.5 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.2865, allocations: 1.021 MB / 467.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.2867, allocations: 111.2 kB / 467.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.2868, allocations: 23.98 kB / 467.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.2875, allocations: 59.89 kB / 467.7 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.2876, allocations: 59.8 kB / 467.8 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.2876, allocations: 27.98 kB / 467.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008167/0.2884, allocations: 0.6201 MB / 468.4 MB, free: 1.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2884, allocations: 0 / 468.4 MB, free: 1.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008136/0.2893, allocations: 208 kB / 468.6 MB, free: 1.645 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.001519/0.2908, allocations: 408.7 kB / 469 MB, free: 1.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.2925, allocations: 0.6991 MB / 469.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2925, allocations: 0 / 469.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008721/0.2934, allocations: 341.3 kB / 470 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.2947, allocations: 222.2 kB / 470.3 MB, free: 156 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.298, allocations: 1.937 MB / 472.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.2985, allocations: 451.5 kB / 472.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000506/0.299, allocations: 118.7 kB / 472.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.2993, allocations: 63.42 kB / 472.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2993, allocations: 0 / 472.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of Templates: time 0.02135/0.3206, allocations: 12.21 MB / 485 MB, free: 1.434 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.857742139996844]