Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002378/0.002378, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.549/1.549, allocations: 230.6 MB / 254.1 MB, free: 15.09 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 47.92 kB / 373.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1121, allocations: 53.33 MB / 426.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.2288/0.341, allocations: 6.742 MB / 433.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.3453, allocations: 2.474 MB / 436 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006086/0.3459, allocations: 21.69 kB / 436.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003873/0.3497, allocations: 1.892 MB / 437.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.3513, allocations: 0.5493 MB / 438.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.3537, allocations: 1.328 MB / 439.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.355, allocations: 1.112 MB / 440.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.356, allocations: 0.7182 MB / 441.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005986/0.3566, allocations: 497.2 kB / 442.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006171/0.3572, allocations: 0.6207 MB / 442.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.3573, allocations: 104.4 kB / 442.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009849/0.3583, allocations: 448.5 kB / 443.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.3585, allocations: 248.5 kB / 443.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004721/0.359, allocations: 0.5605 MB / 444.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.361, allocations: 1.672 MB / 445.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.361, allocations: 0 / 445.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.361, allocations: 0 / 445.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.361, allocations: 5.156 kB / 445.8 MB, free: 2.23 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.006529/0.3675, allocations: 2.052 MB / 447.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.3676, allocations: 9.984 kB / 447.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003685/0.3713, allocations: 493.3 kB / 448.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.3716, allocations: 310.2 kB / 448.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.428e-05/0.3717, allocations: 102.7 kB / 448.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.3719, allocations: 132.5 kB / 448.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.3744, allocations: 1.298 MB / 450.2 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/0.3744, allocations: 7.078 kB / 450.2 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.3745, allocations: 54.75 kB / 450.2 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.3745, allocations: 31.12 kB / 450.2 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/0.3773, allocations: 1.191 MB / 451.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007502/0.3848, allocations: 4.288 MB / 455.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.3878, allocations: 2.343 MB / 458.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009818/0.3888, allocations: 460.2 kB / 458.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.389, allocations: 198.3 kB / 458.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.3891, allocations: 54.88 kB / 458.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.126e-06/0.3891, allocations: 1.25 kB / 458.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01187/0.4009, allocations: 3.772 MB / 462.5 MB, free: 8.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.401, allocations: 90.2 kB / 462.6 MB, free: 8.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/0.4016, allocations: 393.4 kB / 463 MB, free: 7.895 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.179e-05/0.4016, allocations: 50.89 kB / 463.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.402, allocations: 469.2 kB / 463.5 MB, free: 7.426 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004203/0.4024, allocations: 447.6 kB / 464 MB, free: 7.035 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.4028, allocations: 229.6 kB / 464.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.4031, allocations: 377.2 kB / 464.5 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.4042, allocations: 432 kB / 465 MB, free: 6.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.4056, allocations: 0.6898 MB / 465.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.4082, allocations: 1.182 MB / 466.8 MB, free: 5.027 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.4082, allocations: 2.438 kB / 466.8 MB, free: 5.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003493/0.4117, allocations: 1.463 MB / 468.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4117, allocations: 8.406 kB / 468.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.4117, allocations: 6.844 kB / 468.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/0.4123, allocations: 194.3 kB / 468.5 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.4136, allocations: 286.6 kB / 468.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004851/0.4184, allocations: 4.377 MB / 473.2 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.4195, allocations: 79.7 kB / 473.2 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.4196, allocations: 57.23 kB / 473.3 MB, free: 108 kB / 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.0005686/0.4202, allocations: 259.7 kB / 473.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.4203, allocations: 69.11 kB / 473.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00353/0.4239, allocations: 1.333 MB / 475 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.4239, allocations: 16.31 kB / 475 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.4239, allocations: 8.062 kB / 475 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.4239, allocations: 3.984 kB / 475 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005372/0.4293, allocations: 2.606 MB / 477.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.4293, allocations: 7.938 kB / 477.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.4304, allocations: 207.7 kB / 477.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004822/0.4308, allocations: 167.5 kB / 478 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/0.4309, allocations: 27.98 kB / 478 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004682/0.4356, allocations: 4.18 MB / 482.2 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4356, allocations: 7.875 kB / 482.2 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/0.4399, allocations: 1.861 MB / 484 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.4404, allocations: 232.6 kB / 484.3 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.4405, allocations: 24 kB / 484.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007235/0.4412, allocations: 64 kB / 484.3 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.4414, allocations: 92.81 kB / 484.4 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/0.4415, allocations: 36.86 kB / 484.5 MB, free: 5.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003488/0.4418, allocations: 263.2 kB / 484.7 MB, free: 5.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4418, allocations: 4 kB / 484.7 MB, free: 5.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001317/0.4431, allocations: 304 kB / 485 MB, free: 4.816 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.0003418/0.4435, allocations: 179.6 kB / 485.2 MB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003215/0.4467, allocations: 1.403 MB / 486.6 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4467, allocations: 0 / 486.6 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.4484, allocations: 0.8155 MB / 487.4 MB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.4489, allocations: 70.33 kB / 487.5 MB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.4532, allocations: 1.896 MB / 489.4 MB, free: 376 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.454, allocations: 1.005 MB / 490.4 MB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000582/0.4546, allocations: 142.6 kB / 490.5 MB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.4548, allocations: 75.41 kB / 490.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4548, allocations: 3.938 kB / 490.6 MB, free: 15.11 MB / 398.1 MB Notification: Performance of Templates: time 0.02113/0.476, allocations: 10.69 MB / 0.4896 GB, free: 4.469 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.19851940870285]