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.00182/0.00182, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002265/0.002265, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.465/1.465, 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.001557/0.001557, allocations: 51.91 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2148, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006157/0.2209, allocations: 4.253 MB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.2242, allocations: 1.901 MB / 438.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.2245, allocations: 11.94 kB / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007276/0.2252, allocations: 418.2 kB / 438.9 MB, free: 148 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008889/0.2261, allocations: 473.5 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000646/0.2267, allocations: 327.4 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.2278, allocations: 1.047 MB / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.2281, allocations: 207.1 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.2286, allocations: 430.7 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006066/0.2292, allocations: 0.5372 MB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.2294, allocations: 96 kB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.2296, allocations: 132 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.2298, allocations: 247.1 kB / 442.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003583/0.2302, allocations: 370.1 kB / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.2315, allocations: 1.307 MB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2315, allocations: 0 / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2315, allocations: 0 / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.2315, allocations: 4 kB / 444 MB, free: 11 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.002231/0.2338, allocations: 1.162 MB / 445.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2338, allocations: 8.031 kB / 445.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000523/0.2343, allocations: 132.2 kB / 445.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009583/0.2353, allocations: 0.5153 MB / 445.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.2353, allocations: 45.31 kB / 445.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.2354, allocations: 60 kB / 445.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.2367, allocations: 0.6574 MB / 446.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.2367, allocations: 4 kB / 446.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.893e-05/0.2367, allocations: 28 kB / 446.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.2368, allocations: 16 kB / 446.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.2379, allocations: 0.5166 MB / 447.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.2414, allocations: 2.012 MB / 449.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009301/0.2423, allocations: 440.9 kB / 449.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/0.243, allocations: 269 kB / 449.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.243, allocations: 8.422 kB / 449.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.2431, allocations: 42.94 kB / 449.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.914e-06/0.2431, allocations: 0 / 449.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004351/0.2474, allocations: 1.456 MB / 451.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2475, allocations: 56.06 kB / 451.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.2485, allocations: 0.9182 MB / 452.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.2486, allocations: 33.7 kB / 452.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.2489, allocations: 420.5 kB / 452.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.2491, allocations: 222.1 kB / 453 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.2493, allocations: 118.6 kB / 453.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.2495, allocations: 386.8 kB / 453.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/0.2501, allocations: 229.9 kB / 453.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.2507, allocations: 335 kB / 454.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.2518, allocations: 0.5444 MB / 454.6 MB, free: 148 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2518, allocations: 3.938 kB / 454.6 MB, free: 144 kB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001569/0.2534, allocations: 0.7076 MB / 455.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2534, allocations: 8 kB / 455.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2534, allocations: 3.938 kB / 455.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2534, allocations: 8 kB / 455.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/0.2543, allocations: 163.8 kB / 455.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.2543, allocations: 8.094 kB / 455.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.2548, allocations: 39.97 kB / 455.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.2549, allocations: 20 kB / 455.6 MB, free: 15.18 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.0003556/0.2552, allocations: 269.7 kB / 455.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.2554, allocations: 83.42 kB / 455.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.2568, allocations: 0.6105 MB / 456.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2568, allocations: 8 kB / 456.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2568, allocations: 0 / 456.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.2568, allocations: 3.984 kB / 456.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.2596, allocations: 1.461 MB / 458 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.2596, allocations: 7.938 kB / 458 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.2602, allocations: 120.2 kB / 458.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.2602, allocations: 11.94 kB / 458.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.2603, allocations: 19.98 kB / 458.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.2603, allocations: 4 kB / 458.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.2603, allocations: 4 kB / 458.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.2615, allocations: 0.7222 MB / 458.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.2618, allocations: 135.4 kB / 459 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.753e-05/0.2619, allocations: 12 kB / 459 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.2623, allocations: 31.97 kB / 459.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2624, allocations: 48.3 kB / 459.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.2625, allocations: 23.94 kB / 459.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007963/0.2633, allocations: 0.6552 MB / 459.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2633, allocations: 0 / 459.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005646/0.2638, allocations: 156 kB / 459.9 MB, free: 10.66 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.001424/0.2652, allocations: 409.6 kB / 460.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.2665, allocations: 0.523 MB / 460.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2665, allocations: 4 kB / 460.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005538/0.267, allocations: 259.3 kB / 461.1 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/0.2678, allocations: 119.1 kB / 461.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.2704, allocations: 1.602 MB / 462.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.2708, allocations: 375.7 kB / 463.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003595/0.2711, allocations: 96.94 kB / 463.3 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.2713, allocations: 51.42 kB / 463.3 MB, free: 7.312 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2713, allocations: 0 / 463.3 MB, free: 7.312 MB / 366.1 MB Notification: Performance of Templates: time 0.0166/0.2879, allocations: 8.963 MB / 472.3 MB, free: 14.49 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 -s gbode -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: 4.787205751999863]