Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001737/0.001737, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.00202/0.00202, allocations: 186 kB / 22.21 MB, free: 116 kB / 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.38/1.38, allocations: 225.6 MB / 250.8 MB, free: 13.38 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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 43.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2426, allocations: 52.15 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00684/0.2494, allocations: 5.101 MB / 426 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003653/0.253, allocations: 2.106 MB / 428.1 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003847/0.2534, allocations: 16 kB / 428.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.2567, allocations: 1.408 MB / 429.5 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.2581, allocations: 0.571 MB / 430.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.2604, allocations: 1.079 MB / 431.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.2614, allocations: 0.7433 MB / 431.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008913/0.2623, allocations: 0.5009 MB / 432.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004296/0.2627, allocations: 330.8 kB / 432.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.2633, allocations: 434.3 kB / 433.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.2634, allocations: 68 kB / 433.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009581/0.2643, allocations: 387.6 kB / 433.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.2645, allocations: 163.4 kB / 433.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.2649, allocations: 378.1 kB / 434.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.2664, allocations: 1.196 MB / 435.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2664, allocations: 0 / 435.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2664, allocations: 0 / 435.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.2664, allocations: 0 / 435.3 MB, free: 0.6172 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004342/0.2707, allocations: 1.469 MB / 436.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2708, allocations: 12.03 kB / 436.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.2734, allocations: 380.1 kB / 437.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.2737, allocations: 265.4 kB / 437.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/0.2738, allocations: 66.38 kB / 437.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.2739, allocations: 76.38 kB / 437.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.2757, allocations: 0.88 MB / 438.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.2758, allocations: 4 kB / 438.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-05/0.2758, allocations: 32 kB / 438.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.2759, allocations: 24 kB / 438.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.2777, allocations: 0.8003 MB / 439.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005222/0.283, allocations: 2.942 MB / 442.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.2844, allocations: 0.9638 MB / 443.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/0.2849, allocations: 218.4 kB / 443.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.2851, allocations: 105.6 kB / 443.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.2851, allocations: 35.12 kB / 443.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.534e-06/0.2851, allocations: 0 / 443.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008599/0.2937, allocations: 2.424 MB / 446 MB, free: 5.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.2938, allocations: 81.67 kB / 446.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.2942, allocations: 303.2 kB / 446.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.2942, allocations: 37.7 kB / 446.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.2945, allocations: 375.9 kB / 446.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.2947, allocations: 218.1 kB / 447 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.2949, allocations: 150.6 kB / 447.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2951, allocations: 346.8 kB / 447.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008222/0.2959, allocations: 273.8 kB / 447.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.297, allocations: 0.5081 MB / 448.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.299, allocations: 0.8192 MB / 449.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.299, allocations: 0 / 449.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002325/0.3014, allocations: 0.9028 MB / 450 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3014, allocations: 8 kB / 450 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.3014, allocations: 8 kB / 450 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.3016, allocations: 77.55 kB / 450.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000939/0.3026, allocations: 199.7 kB / 450.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.3052, allocations: 2.868 MB / 453.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/0.3059, allocations: 67.84 kB / 453.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.3059, allocations: 39.98 kB / 453.2 MB, free: 13.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003458/0.3063, allocations: 221.6 kB / 453.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.21e-05/0.3064, allocations: 39.77 kB / 453.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.3085, allocations: 0.7429 MB / 454.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3085, allocations: 4 kB / 454.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3085, allocations: 4 kB / 454.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3085, allocations: 3.984 kB / 454.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.3115, allocations: 1.429 MB / 455.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3115, allocations: 0 / 455.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007075/0.3122, allocations: 139.7 kB / 455.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000189/0.3124, allocations: 57.67 kB / 455.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.3125, allocations: 15.98 kB / 455.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/0.315, allocations: 2.856 MB / 458.7 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.315, allocations: 0 / 458.7 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.3178, allocations: 1.091 MB / 459.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.3181, allocations: 168.7 kB / 460 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/0.3181, allocations: 8 kB / 460 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.3186, allocations: 52.02 kB / 460 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.3188, allocations: 48.48 kB / 460.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.3188, allocations: 19.98 kB / 460.1 MB, free: 6.309 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.319, allocations: 203.1 kB / 460.3 MB, free: 6.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.319, allocations: 4 kB / 460.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000755/0.3198, allocations: 172 kB / 460.5 MB, free: 5.941 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003788/0.3202, allocations: 171.2 kB / 460.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.3223, allocations: 0.885 MB / 461.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3223, allocations: 0 / 461.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.3233, allocations: 0.5238 MB / 462.1 MB, free: 4.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.3238, allocations: 60.56 kB / 462.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.3264, allocations: 1.249 MB / 463.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.3269, allocations: 0.8848 MB / 464.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003975/0.3273, allocations: 96.52 kB / 464.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.3275, allocations: 47.41 kB / 464.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3275, allocations: 0 / 464.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of Templates: time 0.01283/0.3403, allocations: 6.707 MB / 471.1 MB, free: 11.25 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.513794418424368]