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.QuadraticCoreAirgap.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.001301/0.001301, allocations: 113.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.001338/0.001338, allocations: 209.8 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.387/1.387, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") [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.001956/0.001956, allocations: 75.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2129, allocations: 53.3 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008321/0.2212, allocations: 6.771 MB / 438.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.2251, allocations: 2.483 MB / 441.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002806/0.2254, allocations: 24 kB / 441.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00399/0.2293, allocations: 1.893 MB / 443.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.2305, allocations: 0.5512 MB / 443.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.233, allocations: 1.332 MB / 445.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.2342, allocations: 1.113 MB / 446.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.2352, allocations: 0.7144 MB / 446.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.2358, allocations: 490.1 kB / 447.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007282/0.2365, allocations: 0.6147 MB / 448 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.2367, allocations: 100 kB / 448.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007407/0.2374, allocations: 451.5 kB / 448.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.2376, allocations: 251.1 kB / 448.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.2381, allocations: 0.5597 MB / 449.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.2399, allocations: 1.673 MB / 451.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2399, allocations: 0 / 451.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2399, allocations: 0 / 451.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.2399, allocations: 3.938 kB / 451.1 MB, free: 4.285 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006359/0.2463, allocations: 2.059 MB / 453.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2463, allocations: 8.031 kB / 453.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/0.2499, allocations: 495.8 kB / 453.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.2503, allocations: 310.7 kB / 453.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.762e-05/0.2503, allocations: 98.95 kB / 454 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.2505, allocations: 128.3 kB / 454.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.2529, allocations: 1.303 MB / 455.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.253, allocations: 4 kB / 455.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.2531, allocations: 51.98 kB / 455.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.2531, allocations: 32 kB / 455.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.2557, allocations: 1.189 MB / 456.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006654/0.2624, allocations: 4.293 MB / 461 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.2651, allocations: 2.35 MB / 463.4 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009468/0.266, allocations: 467.7 kB / 463.8 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.2662, allocations: 203.1 kB / 464 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.2663, allocations: 43.56 kB / 464.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.036e-06/0.2663, allocations: 0 / 464.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01063/0.2769, allocations: 3.775 MB / 467.8 MB, free: 2.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.277, allocations: 90.11 kB / 467.9 MB, free: 2.629 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.2774, allocations: 389.5 kB / 468.3 MB, free: 2.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.335e-05/0.2775, allocations: 41.7 kB / 468.3 MB, free: 2.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.2778, allocations: 472.6 kB / 468.8 MB, free: 1.727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.2782, allocations: 444.1 kB / 469.2 MB, free: 1.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003571/0.2785, allocations: 235.5 kB / 469.5 MB, free: 1.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.2787, allocations: 370.8 kB / 469.8 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.2798, allocations: 435.8 kB / 470.3 MB, free: 260 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.2811, allocations: 0.6918 MB / 470.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.2835, allocations: 1.179 MB / 472.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2835, allocations: 4 kB / 472.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003144/0.2866, allocations: 1.459 MB / 473.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.2867, allocations: 11.94 kB / 473.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.2867, allocations: 8.031 kB / 473.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/0.2872, allocations: 197.6 kB / 473.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.2885, allocations: 279.6 kB / 474.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/0.2931, allocations: 4.385 MB / 478.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/0.2939, allocations: 75.91 kB / 478.5 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.151e-05/0.294, allocations: 56.05 kB / 478.6 MB, free: 7.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004246/0.2944, allocations: 269.5 kB / 478.9 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.2946, allocations: 67.58 kB / 478.9 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/0.2977, allocations: 1.331 MB / 480.2 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.2977, allocations: 7.969 kB / 480.3 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2977, allocations: 0 / 480.3 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/0.2981, allocations: 228.5 kB / 480.5 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.2982, allocations: 23.98 kB / 480.5 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.2988, allocations: 59.95 kB / 480.6 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.299, allocations: 96.84 kB / 480.7 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003512/0.3025, allocations: 1.342 MB / 482 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003539/0.3061, allocations: 1.726 MB / 483.7 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001012/0.3071, allocations: 435.7 kB / 484.1 MB, free: 1.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.3074, allocations: 267.2 kB / 484.4 MB, free: 1.535 MB / 382.1 MB Notification: Performance of Backend: time 2.8e-07/0.3074, allocations: 0 / 484.4 MB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002837/0.3102, allocations: 1.28 MB / 485.7 MB, free: 232 kB / 382.1 MB Notification: Performance of SimCode: time 0.002678/0.3129, allocations: 2.086 MB / 487.8 MB, free: 14.08 MB / 398.1 MB Notification: Performance of Templates: time 0.0275/0.3404, allocations: 16.82 MB / 0.4928 GB, free: 13.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.8022047891281545]