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.001524/0.001524, allocations: 112.2 kB / 21.19 MB, free: 0.7773 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.001689/0.001689, allocations: 206.3 kB / 24.49 MB, free: 4.164 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.001478/0.001478, allocations: 55.86 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.236, allocations: 53.36 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006521/0.2425, allocations: 4.713 MB / 437.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.2459, allocations: 2.014 MB / 439.1 MB, free: 184 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.2462, allocations: 15.94 kB / 439.1 MB, free: 168 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007601/0.247, allocations: 426.1 kB / 439.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008947/0.2479, allocations: 477.5 kB / 440 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.2486, allocations: 319.5 kB / 440.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.2497, allocations: 1.044 MB / 441.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.2501, allocations: 207 kB / 441.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.2506, allocations: 438.6 kB / 442 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006513/0.2512, allocations: 0.5255 MB / 442.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.2514, allocations: 100 kB / 442.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.2516, allocations: 128 kB / 442.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.2518, allocations: 247.1 kB / 443 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004206/0.2522, allocations: 469.5 kB / 443.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.2536, allocations: 1.301 MB / 444.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2536, allocations: 0 / 444.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.2536, allocations: 4 kB / 444.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.2536, allocations: 3.938 kB / 444.8 MB, free: 10.52 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.00217/0.2558, allocations: 1.162 MB / 445.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2558, allocations: 12.03 kB / 445.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004925/0.2563, allocations: 132.2 kB / 446.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/0.2573, allocations: 0.5075 MB / 446.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.2573, allocations: 49.31 kB / 446.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.545e-05/0.2574, allocations: 63.98 kB / 446.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.2586, allocations: 0.6285 MB / 447.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.2586, allocations: 0 / 447.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/0.2586, allocations: 28 kB / 447.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.2586, allocations: 12 kB / 447.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.2597, allocations: 0.5243 MB / 447.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.2635, allocations: 2.476 MB / 450.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008846/0.2644, allocations: 448.5 kB / 450.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006129/0.265, allocations: 268.6 kB / 451 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.2651, allocations: 12.42 kB / 451.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.2651, allocations: 39 kB / 451.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.833e-06/0.2651, allocations: 0 / 451.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004104/0.2692, allocations: 1.46 MB / 452.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.2693, allocations: 60.06 kB / 452.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.2705, allocations: 0.9615 MB / 453.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.2705, allocations: 37.7 kB / 453.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.2708, allocations: 412.7 kB / 454 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.271, allocations: 226.1 kB / 454.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.2712, allocations: 122.6 kB / 454.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2714, allocations: 334 kB / 454.7 MB, free: 332 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/0.2719, allocations: 225.9 kB / 454.9 MB, free: 104 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.2725, allocations: 331.1 kB / 455.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.2736, allocations: 0.5483 MB / 455.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2736, allocations: 3.938 kB / 455.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001416/0.275, allocations: 0.7076 MB / 456.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.275, allocations: 12.06 kB / 456.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.275, allocations: 0 / 456.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.275, allocations: 8 kB / 456.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.2758, allocations: 167.8 kB / 456.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.2758, allocations: 4 kB / 456.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.2763, allocations: 35.91 kB / 456.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.2763, allocations: 27.94 kB / 456.7 MB, free: 14.2 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.0003451/0.2767, allocations: 281.5 kB / 457 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.2768, allocations: 91.38 kB / 457.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.2781, allocations: 0.6072 MB / 457.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.2781, allocations: 8 kB / 457.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2781, allocations: 0 / 457.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2781, allocations: 3.984 kB / 457.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.281, allocations: 1.756 MB / 459.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.281, allocations: 4 kB / 459.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/0.2816, allocations: 131.8 kB / 459.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.2816, allocations: 4 kB / 459.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.2816, allocations: 12 kB / 459.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.2816, allocations: 15.92 kB / 459.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2816, allocations: 0 / 459.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.2829, allocations: 0.7338 MB / 460.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.2831, allocations: 135.4 kB / 460.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.2832, allocations: 12 kB / 460.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.2836, allocations: 31.97 kB / 460.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.2837, allocations: 48.3 kB / 460.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.2837, allocations: 24 kB / 460.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008664/0.2846, allocations: 0.7021 MB / 461.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2846, allocations: 0 / 461.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005582/0.2852, allocations: 159.9 kB / 461.5 MB, free: 9.277 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.001335/0.2865, allocations: 370.9 kB / 461.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.2877, allocations: 0.523 MB / 462.4 MB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2877, allocations: 0 / 462.4 MB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005443/0.2883, allocations: 259.4 kB / 462.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.2891, allocations: 140.8 kB / 462.8 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.2918, allocations: 1.662 MB / 464.4 MB, free: 6.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.2925, allocations: 0.9709 MB / 465.4 MB, free: 5.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.2927, allocations: 63.42 kB / 465.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2927, allocations: 0 / 465.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of Templates: time 0.0165/0.3092, allocations: 10.17 MB / 475.6 MB, free: 11.21 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: 7.91689965617843]