Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 117.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.387/1.387, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 71.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2375, allocations: 53.32 MB / 432.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006572/0.244, allocations: 5.134 MB / 437.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.2477, allocations: 2.183 MB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.248, allocations: 16 kB / 439.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.2512, allocations: 1.414 MB / 440.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.2522, allocations: 433 kB / 441.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.2545, allocations: 1.213 MB / 442.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009371/0.2554, allocations: 0.7433 MB / 443.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007988/0.2562, allocations: 0.5027 MB / 443.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.2566, allocations: 338.8 kB / 444 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.2572, allocations: 438.3 kB / 444.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.2573, allocations: 68 kB / 444.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.2583, allocations: 411.7 kB / 444.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.2584, allocations: 159.4 kB / 445.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.2588, allocations: 386.1 kB / 445.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.2602, allocations: 1.222 MB / 446.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2602, allocations: 0 / 446.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2602, allocations: 0 / 446.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.2603, allocations: 0 / 446.7 MB, free: 8.672 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00432/0.2646, allocations: 1.485 MB / 448.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2646, allocations: 16.02 kB / 448.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/0.2672, allocations: 360.1 kB / 448.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.2674, allocations: 279.2 kB / 448.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.2675, allocations: 62.38 kB / 448.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.2676, allocations: 84.38 kB / 448.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.2692, allocations: 0.8679 MB / 449.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.2693, allocations: 7.953 kB / 449.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.2694, allocations: 32 kB / 449.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.2694, allocations: 24 kB / 449.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.2712, allocations: 0.7925 MB / 450.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.2756, allocations: 3.026 MB / 453.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.2769, allocations: 0.9577 MB / 454.7 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.2774, allocations: 218.4 kB / 454.9 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.2776, allocations: 178.8 kB / 455 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.2776, allocations: 47.05 kB / 455.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.194e-06/0.2776, allocations: 0 / 455.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007413/0.285, allocations: 2.393 MB / 457.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.2851, allocations: 85.67 kB / 457.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.2854, allocations: 320.3 kB / 457.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.2855, allocations: 37.7 kB / 457.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.2857, allocations: 375.8 kB / 458.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.2859, allocations: 218.1 kB / 458.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.2861, allocations: 146.6 kB / 458.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2863, allocations: 354.7 kB / 459 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/0.287, allocations: 269.8 kB / 459.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009369/0.288, allocations: 0.5081 MB / 459.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.2897, allocations: 0.8037 MB / 460.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2897, allocations: 4 kB / 460.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002094/0.2918, allocations: 0.8867 MB / 461.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.2918, allocations: 15.94 kB / 461.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2918, allocations: 8.484 kB / 461.5 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/0.292, allocations: 81.64 kB / 461.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008502/0.2929, allocations: 203.7 kB / 461.8 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.2952, allocations: 2.857 MB / 464.6 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.2958, allocations: 64.03 kB / 464.7 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.2959, allocations: 43.92 kB / 464.7 MB, free: 5.496 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.000296/0.2962, allocations: 209.6 kB / 464.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.2963, allocations: 47.69 kB / 465 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.2982, allocations: 0.7273 MB / 465.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.2982, allocations: 8 kB / 465.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2982, allocations: 0 / 465.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.2982, allocations: 7.922 kB / 465.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.3009, allocations: 1.421 MB / 467.1 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3009, allocations: 0 / 467.1 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/0.3015, allocations: 135.8 kB / 467.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/0.3017, allocations: 61.61 kB / 467.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.3018, allocations: 16 kB / 467.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.3039, allocations: 2.852 MB / 470.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3039, allocations: 0 / 470.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.3065, allocations: 1.075 MB / 471.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.3067, allocations: 168.8 kB / 471.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/0.3068, allocations: 15.98 kB / 471.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/0.3073, allocations: 51.95 kB / 471.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3074, allocations: 44.5 kB / 471.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.3074, allocations: 19.98 kB / 471.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.3076, allocations: 215.1 kB / 471.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3076, allocations: 0 / 471.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006868/0.3083, allocations: 179.9 kB / 471.9 MB, free: 13.86 MB / 382.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.0002589/0.3086, allocations: 167.1 kB / 472.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.3106, allocations: 0.8851 MB / 473 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3106, allocations: 0 / 473 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009857/0.3115, allocations: 0.52 MB / 473.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.312, allocations: 53.05 kB / 473.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.3145, allocations: 1.239 MB / 474.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.315, allocations: 0.8849 MB / 475.7 MB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.3152, allocations: 67.34 kB / 475.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3152, allocations: 0 / 475.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of Templates: time 0.01681/0.3321, allocations: 13.64 MB / 489.4 MB, free: 12.3 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.661760786082596]