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.001685/0.001685, allocations: 112.3 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.001997/0.001997, allocations: 211 kB / 24.48 MB, free: 4.035 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.43/1.43, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001925/0.001925, allocations: 63.89 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2106, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006644/0.2172, allocations: 5.157 MB / 437.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.2204, allocations: 2.183 MB / 439.4 MB, free: 0 / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.2206, allocations: 16.05 kB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00303/0.2236, allocations: 1.406 MB / 440.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008668/0.2245, allocations: 421.4 kB / 441.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.2267, allocations: 1.22 MB / 442.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008117/0.2275, allocations: 0.7472 MB / 443.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007887/0.2283, allocations: 0.507 MB / 443.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.2287, allocations: 330.8 kB / 444 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.2292, allocations: 434.3 kB / 444.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.755e-05/0.2293, allocations: 68 kB / 444.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006607/0.23, allocations: 419.6 kB / 444.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2301, allocations: 159.4 kB / 445.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.2304, allocations: 386.1 kB / 445.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.2318, allocations: 1.214 MB / 446.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2318, allocations: 7.938 kB / 446.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2318, allocations: 0 / 446.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2318, allocations: 0 / 446.7 MB, free: 8.691 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.004392/0.2362, allocations: 1.489 MB / 448.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2362, allocations: 12.02 kB / 448.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.2389, allocations: 360.1 kB / 448.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.2391, allocations: 271.3 kB / 448.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.2392, allocations: 66.38 kB / 448.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.2393, allocations: 80.38 kB / 448.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.241, allocations: 0.8757 MB / 449.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.241, allocations: 3.953 kB / 449.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.782e-05/0.2411, allocations: 36 kB / 449.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.2411, allocations: 20 kB / 449.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.243, allocations: 0.7924 MB / 450.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/0.2475, allocations: 3.033 MB / 453.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.2488, allocations: 0.9538 MB / 454.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/0.2494, allocations: 218.4 kB / 454.9 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.2496, allocations: 182.7 kB / 455.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2496, allocations: 39.11 kB / 455.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.093e-06/0.2496, allocations: 4 kB / 455.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007594/0.2572, allocations: 2.397 MB / 457.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.2572, allocations: 81.67 kB / 457.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.2576, allocations: 320.4 kB / 457.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.2576, allocations: 37.7 kB / 457.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.2579, allocations: 379.8 kB / 458.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.2581, allocations: 222.1 kB / 458.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.2583, allocations: 142.6 kB / 458.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2584, allocations: 350.7 kB / 459 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007855/0.2592, allocations: 273.8 kB / 459.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009685/0.2602, allocations: 0.5042 MB / 459.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.262, allocations: 0.8037 MB / 460.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.262, allocations: 0 / 460.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002189/0.2642, allocations: 0.9028 MB / 461.5 MB, free: 9.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2642, allocations: 8 kB / 461.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.2642, allocations: 15.92 kB / 461.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/0.2645, allocations: 69.67 kB / 461.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008971/0.2654, allocations: 199.7 kB / 461.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.2677, allocations: 2.865 MB / 464.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.2684, allocations: 55.91 kB / 464.7 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.2684, allocations: 43.92 kB / 464.7 MB, free: 5.52 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.0002917/0.2687, allocations: 217.6 kB / 464.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.2688, allocations: 43.7 kB / 465 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.2709, allocations: 0.7312 MB / 465.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2709, allocations: 3.984 kB / 465.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2709, allocations: 0 / 465.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.2711, allocations: 172.8 kB / 465.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.2712, allocations: 15.94 kB / 465.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005096/0.2717, allocations: 43.94 kB / 465.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.2718, allocations: 44.5 kB / 466 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002223/0.274, allocations: 0.7697 MB / 466.8 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002533/0.2765, allocations: 1.099 MB / 467.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007207/0.2773, allocations: 260.3 kB / 468.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.2775, allocations: 215.1 kB / 468.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of Backend: time 3.8e-07/0.2775, allocations: 0 / 468.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.2795, allocations: 0.9089 MB / 469.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of SimCode: time 0.001878/0.2814, allocations: 1.498 MB / 470.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01924/0.3006, allocations: 11.46 MB / 482.2 MB, free: 3.949 MB / 382.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: 4.618042868096381]