Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.002026/0.002026, allocations: 108.3 kB / 20.48 MB, free: 1.121 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.002534/0.002534, allocations: 218.4 kB / 23.78 MB, free: 4.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 230.5 MB / 257.5 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 59.89 kB / 378.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2456, allocations: 53.4 MB / 431.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008497/0.2541, allocations: 5.959 MB / 437.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004556/0.2587, allocations: 2.312 MB / 440 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003794/0.2591, allocations: 24 kB / 440 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004279/0.2633, allocations: 1.745 MB / 441.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.2649, allocations: 0.5433 MB / 442.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.2676, allocations: 1.254 MB / 443.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.2691, allocations: 1.113 MB / 444.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.2704, allocations: 0.8211 MB / 445.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/0.271, allocations: 498.2 kB / 446 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006898/0.2717, allocations: 0.5444 MB / 446.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.2719, allocations: 100 kB / 446.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000973/0.2728, allocations: 431.6 kB / 447.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.2731, allocations: 247 kB / 447.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000512/0.2736, allocations: 457.9 kB / 447.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.2758, allocations: 1.672 MB / 449.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2758, allocations: 0 / 449.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2758, allocations: 3.938 kB / 449.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.2758, allocations: 4 kB / 449.4 MB, free: 4.719 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.006466/0.2823, allocations: 1.98 MB / 451.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2824, allocations: 15.97 kB / 451.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/0.286, allocations: 495.8 kB / 451.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.2863, allocations: 256.8 kB / 452.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.326e-05/0.2864, allocations: 98.95 kB / 452.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.2866, allocations: 132.3 kB / 452.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.2892, allocations: 1.321 MB / 453.7 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.876e-05/0.2892, allocations: 7.984 kB / 453.7 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.2893, allocations: 52 kB / 453.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.2894, allocations: 28 kB / 453.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.292, allocations: 1.181 MB / 455 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006495/0.2985, allocations: 3.347 MB / 458.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.3007, allocations: 1.14 MB / 459.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009658/0.3017, allocations: 456 kB / 459.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.3018, allocations: 40.91 kB / 459.9 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.3019, allocations: 51.48 kB / 460 MB, free: 9.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.437e-06/0.3019, allocations: 0 / 460 MB, free: 9.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01093/0.3128, allocations: 3.536 MB / 463.5 MB, free: 6.359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.3129, allocations: 94.11 kB / 463.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.3134, allocations: 393.2 kB / 464 MB, free: 5.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-05/0.3135, allocations: 49.7 kB / 464.1 MB, free: 5.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.3139, allocations: 468.5 kB / 464.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.3143, allocations: 444.2 kB / 464.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003902/0.3146, allocations: 227.5 kB / 465.2 MB, free: 4.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.3149, allocations: 370.8 kB / 465.5 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.316, allocations: 443.7 kB / 466 MB, free: 3.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.3174, allocations: 0.7092 MB / 466.7 MB, free: 3.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.3201, allocations: 1.175 MB / 467.8 MB, free: 1.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3201, allocations: 4 kB / 467.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003333/0.3234, allocations: 1.459 MB / 469.3 MB, free: 308 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.3235, allocations: 11.94 kB / 469.3 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3235, allocations: 4 kB / 469.3 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/0.3241, allocations: 201.5 kB / 469.5 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.3254, allocations: 279.6 kB / 469.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004886/0.3302, allocations: 4.079 MB / 473.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009395/0.3312, allocations: 79.84 kB / 474 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.3313, allocations: 55.98 kB / 474 MB, free: 11.4 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.0004863/0.3318, allocations: 273.5 kB / 474.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.3319, allocations: 67.62 kB / 474.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.3352, allocations: 1.319 MB / 475.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3352, allocations: 12 kB / 475.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.3352, allocations: 8.172 kB / 475.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.3352, allocations: 7.984 kB / 475.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/0.3399, allocations: 2.193 MB / 477.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3399, allocations: 0 / 477.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.341, allocations: 211.7 kB / 478.1 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.3414, allocations: 161.6 kB / 478.2 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.13e-05/0.3415, allocations: 31.98 kB / 478.3 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004379/0.3459, allocations: 3.896 MB / 482.2 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3459, allocations: 0 / 482.2 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004306/0.3502, allocations: 1.872 MB / 484 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/0.3506, allocations: 147.5 kB / 484.2 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3507, allocations: 24 kB / 484.2 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000684/0.3514, allocations: 59.94 kB / 484.3 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.3516, allocations: 92.77 kB / 484.4 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.3517, allocations: 35.98 kB / 484.4 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000329/0.352, allocations: 259.2 kB / 484.6 MB, free: 456 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.352, allocations: 0 / 484.6 MB, free: 456 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001225/0.3533, allocations: 307.9 kB / 485 MB, free: 148 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004119/0.3537, allocations: 175 kB / 485.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0032/0.3569, allocations: 1.399 MB / 486.5 MB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3569, allocations: 0 / 486.5 MB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.3585, allocations: 0.8114 MB / 487.3 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.3591, allocations: 62.12 kB / 487.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.3633, allocations: 1.897 MB / 489.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.3638, allocations: 416.3 kB / 489.7 MB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005484/0.3644, allocations: 138.6 kB / 489.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.3646, allocations: 80.47 kB / 489.9 MB, free: 11.04 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3646, allocations: 0 / 489.9 MB, free: 11.04 MB / 398.1 MB Notification: Performance of Templates: time 0.0209/0.3855, allocations: 10.27 MB / 0.4885 GB, free: 0.8867 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.0866153091192245]