Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001917/0.001917, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002234/0.002234, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 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.476/1.476, allocations: 225.7 MB / 252.5 MB, free: 12.82 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.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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 51.92 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2549, allocations: 52.17 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008652/0.2636, allocations: 5.946 MB / 429 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.2683, allocations: 2.265 MB / 431.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005799/0.2689, allocations: 24 kB / 431.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004407/0.2733, allocations: 1.736 MB / 433.1 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.2753, allocations: 0.6872 MB / 433.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.278, allocations: 1.111 MB / 434.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.2796, allocations: 1.121 MB / 436 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.281, allocations: 0.8249 MB / 436.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/0.2816, allocations: 494.1 kB / 437.3 MB, free: 192 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007327/0.2824, allocations: 0.5445 MB / 437.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.2825, allocations: 100 kB / 437.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009184/0.2834, allocations: 399.6 kB / 438.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.2836, allocations: 255 kB / 438.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.2841, allocations: 465.8 kB / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.2862, allocations: 1.66 MB / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2862, allocations: 0 / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2862, allocations: 0 / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.367e-05/0.2863, allocations: 0 / 440.7 MB, free: 12.78 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.006398/0.2927, allocations: 1.976 MB / 442.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2927, allocations: 8.031 kB / 442.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/0.2963, allocations: 0.5114 MB / 443.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.2966, allocations: 253 kB / 443.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.2967, allocations: 102.9 kB / 443.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.2969, allocations: 124.4 kB / 443.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.2995, allocations: 1.336 MB / 445 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.2996, allocations: 7.938 kB / 445 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.2997, allocations: 52 kB / 445 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.2997, allocations: 32 kB / 445.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.3024, allocations: 1.185 MB / 446.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006686/0.3091, allocations: 3.318 MB / 449.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.3113, allocations: 1.142 MB / 450.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009841/0.3123, allocations: 455.7 kB / 451.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.982e-05/0.3124, allocations: 28.92 kB / 451.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.3124, allocations: 43.56 kB / 451.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.186e-06/0.3124, allocations: 0 / 451.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01143/0.3239, allocations: 3.564 MB / 454.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/0.324, allocations: 90.11 kB / 454.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.3245, allocations: 385.4 kB / 455.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.3247, allocations: 45.7 kB / 455.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.325, allocations: 472.5 kB / 455.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.3254, allocations: 444.1 kB / 456.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.3258, allocations: 235.5 kB / 456.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.326, allocations: 366.8 kB / 456.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.3271, allocations: 439.8 kB / 457.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.3286, allocations: 0.7247 MB / 457.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/0.3311, allocations: 1.175 MB / 459.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.3311, allocations: 4 kB / 459.1 MB, free: 9.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.0034/0.3345, allocations: 1.463 MB / 460.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3346, allocations: 12.88 kB / 460.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3346, allocations: 11.94 kB / 460.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/0.3352, allocations: 205.3 kB / 460.8 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.3365, allocations: 295.6 kB / 461.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004923/0.3414, allocations: 4.069 MB / 465.2 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009365/0.3424, allocations: 83.94 kB / 465.2 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.503e-05/0.3424, allocations: 55.98 kB / 465.3 MB, free: 3.43 MB / 366.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.0004562/0.3429, allocations: 261.5 kB / 465.6 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.343, allocations: 71.52 kB / 465.6 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.3463, allocations: 1.343 MB / 467 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3463, allocations: 12 kB / 467 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3464, allocations: 4 kB / 467 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.3464, allocations: 3.984 kB / 467 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00488/0.3512, allocations: 2.182 MB / 469.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3512, allocations: 0 / 469.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.3523, allocations: 219.9 kB / 469.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000447/0.3527, allocations: 165.5 kB / 469.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.3528, allocations: 31.97 kB / 469.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004376/0.3572, allocations: 3.896 MB / 473.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3572, allocations: 0 / 473.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004277/0.3614, allocations: 1.869 MB / 475.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.3619, allocations: 155.4 kB / 475.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.362, allocations: 36 kB / 475.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.3627, allocations: 56.06 kB / 475.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.3629, allocations: 104.7 kB / 475.7 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/0.363, allocations: 40.27 kB / 475.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.3633, allocations: 251.2 kB / 476 MB, free: 8.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3633, allocations: 0 / 476 MB, free: 8.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001161/0.3644, allocations: 303.9 kB / 476.3 MB, free: 8.145 MB / 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.0003192/0.3647, allocations: 175 kB / 476.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003296/0.368, allocations: 1.391 MB / 477.8 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.368, allocations: 0 / 477.8 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.3697, allocations: 0.8192 MB / 478.6 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.3702, allocations: 79.56 kB / 478.7 MB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.3745, allocations: 1.959 MB / 480.7 MB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.3749, allocations: 416.3 kB / 481.1 MB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006435/0.3756, allocations: 150.6 kB / 481.2 MB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.3758, allocations: 71.41 kB / 481.3 MB, free: 2.961 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3758, allocations: 4 kB / 481.3 MB, free: 2.957 MB / 382.1 MB Notification: Performance of Templates: time 0.022/0.3978, allocations: 11.17 MB / 492.5 MB, free: 7.91 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.05295872874558]