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.0017/0.0017, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001871/0.001871, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.415/1.415, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.001562/0.001562, allocations: 39.94 kB / 371.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2505, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008374/0.2589, allocations: 6.48 MB / 430.4 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.2626, allocations: 2.213 MB / 432.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004375/0.2631, allocations: 23.88 kB / 432.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007731/0.2639, allocations: 353.8 kB / 432.9 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009851/0.2648, allocations: 0.4928 MB / 433.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008305/0.2657, allocations: 451.2 kB / 433.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.2673, allocations: 1.538 MB / 435.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000571/0.2679, allocations: 355.5 kB / 435.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006914/0.2686, allocations: 0.5879 MB / 436.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008235/0.2694, allocations: 0.6809 MB / 437 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.2696, allocations: 160 kB / 437.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.2699, allocations: 188 kB / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.2702, allocations: 323 kB / 437.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005941/0.2708, allocations: 0.6687 MB / 438.3 MB, free: 144 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.2727, allocations: 1.938 MB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2727, allocations: 0 / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2727, allocations: 3.938 kB / 440.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.2728, allocations: 0 / 440.3 MB, free: 14.19 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.003053/0.2758, allocations: 1.493 MB / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2758, allocations: 12.03 kB / 441.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.276, allocations: 144 kB / 441.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.2773, allocations: 0.6512 MB / 442.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.776e-05/0.2773, allocations: 74.38 kB / 442.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.2775, allocations: 100.1 kB / 442.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.2795, allocations: 1.013 MB / 443.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.2795, allocations: 4 kB / 443.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.74e-05/0.2796, allocations: 40 kB / 443.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.2796, allocations: 20 kB / 443.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.2816, allocations: 0.8874 MB / 444.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.2872, allocations: 3.539 MB / 448.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/0.2901, allocations: 0.8675 MB / 449.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007755/0.2909, allocations: 343.7 kB / 449.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.307e-05/0.291, allocations: 8 kB / 449.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.291, allocations: 50.34 kB / 449.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.291, allocations: 0 / 449.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004943/0.2959, allocations: 1.818 MB / 451.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.296, allocations: 85.11 kB / 451.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.2973, allocations: 0.978 MB / 452.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.2973, allocations: 37.7 kB / 452.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.2978, allocations: 0.5389 MB / 453 MB, free: 1.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.298, allocations: 238 kB / 453.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.2982, allocations: 158.5 kB / 453.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2984, allocations: 338 kB / 453.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009099/0.2993, allocations: 341.8 kB / 454 MB, free: 128 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.3003, allocations: 0.526 MB / 454.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.3021, allocations: 0.8203 MB / 455.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3022, allocations: 0 / 455.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002402/0.3046, allocations: 1.012 MB / 456.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3046, allocations: 19.25 kB / 456.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3046, allocations: 11.98 kB / 456.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.3046, allocations: 8 kB / 456.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.3059, allocations: 287.6 kB / 456.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.3059, allocations: 11.94 kB / 456.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008153/0.3067, allocations: 71.92 kB / 456.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.3068, allocations: 28 kB / 456.8 MB, free: 13.18 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.000457/0.3072, allocations: 285.6 kB / 457.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.3074, allocations: 111.3 kB / 457.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009981/0.3084, allocations: 382.2 kB / 457.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3084, allocations: 11.94 kB / 457.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3084, allocations: 4 kB / 457.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3084, allocations: 7.984 kB / 457.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004025/0.3124, allocations: 2.26 MB / 459.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.3125, allocations: 4 kB / 459.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009212/0.3134, allocations: 212.4 kB / 460.1 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.3134, allocations: 8 kB / 460.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.3134, allocations: 20 kB / 460.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.676e-05/0.3134, allocations: 19.92 kB / 460.1 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/0.3135, allocations: 11.88 kB / 460.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.3152, allocations: 1.04 MB / 461.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.3154, allocations: 107.3 kB / 461.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.3155, allocations: 27.98 kB / 461.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.3162, allocations: 51.95 kB / 461.3 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3163, allocations: 71.61 kB / 461.4 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.3163, allocations: 27.98 kB / 461.4 MB, free: 8.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008926/0.3172, allocations: 0.6786 MB / 462.1 MB, free: 7.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3172, allocations: 3.938 kB / 462.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007886/0.318, allocations: 212 kB / 462.3 MB, free: 7.406 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.001403/0.3194, allocations: 375.7 kB / 462.7 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.3213, allocations: 0.7305 MB / 463.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3213, allocations: 8 kB / 463.4 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008233/0.3221, allocations: 357.4 kB / 463.8 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.3233, allocations: 194 kB / 464 MB, free: 5.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.3267, allocations: 1.981 MB / 466 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.3274, allocations: 1.014 MB / 467 MB, free: 2.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.3277, allocations: 79.41 kB / 467.1 MB, free: 2.668 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3277, allocations: 0 / 467.1 MB, free: 2.668 MB / 366.1 MB Notification: Performance of Templates: time 0.0192/0.3469, allocations: 13.08 MB / 480.1 MB, free: 5.637 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/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: 8.176560560939834]