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.001374/0.001374, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.001414/0.001414, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.447/1.447, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.002532/0.002532, allocations: 67.88 kB / 373.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1524, allocations: 53.32 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.2006/0.353, allocations: 6.745 MB / 433.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003538/0.3565, allocations: 2.475 MB / 436.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.3569, allocations: 26.88 kB / 436.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003484/0.3604, allocations: 1.883 MB / 438.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.3618, allocations: 0.5541 MB / 438.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.364, allocations: 1.327 MB / 440.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.3652, allocations: 1.116 MB / 441.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.3662, allocations: 0.7169 MB / 442 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005449/0.3667, allocations: 485.5 kB / 442.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005844/0.3673, allocations: 0.6249 MB / 443.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.3674, allocations: 99.69 kB / 443.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009301/0.3684, allocations: 444 kB / 443.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.3685, allocations: 248.5 kB / 443.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000466/0.369, allocations: 0.5678 MB / 444.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.3709, allocations: 1.666 MB / 446.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3709, allocations: 1.188 kB / 446.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3709, allocations: 0 / 446.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.3709, allocations: 0 / 446.1 MB, free: 2.508 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.006492/0.3774, allocations: 2.063 MB / 448.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3775, allocations: 8.438 kB / 448.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003598/0.381, allocations: 490.5 kB / 448.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.3814, allocations: 309.7 kB / 449 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.3815, allocations: 98.98 kB / 449.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.3817, allocations: 133.2 kB / 449.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/0.3841, allocations: 1.309 MB / 450.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.3842, allocations: 5.297 kB / 450.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.3843, allocations: 49.91 kB / 450.6 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.3843, allocations: 31.34 kB / 450.6 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.3869, allocations: 1.192 MB / 451.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007043/0.3939, allocations: 4.29 MB / 456.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.3967, allocations: 2.346 MB / 458.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.3977, allocations: 459.6 kB / 458.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.398, allocations: 198.9 kB / 459.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.398, allocations: 43.56 kB / 459.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.005e-06/0.398, allocations: 1.125 kB / 459.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01121/0.4092, allocations: 3.776 MB / 462.9 MB, free: 8.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.4093, allocations: 91.52 kB / 463 MB, free: 8.418 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.4099, allocations: 392 kB / 463.3 MB, free: 8.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.662e-05/0.4099, allocations: 46.08 kB / 463.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.4103, allocations: 466 kB / 463.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003812/0.4107, allocations: 454.5 kB / 464.3 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003943/0.4111, allocations: 231.2 kB / 464.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.4113, allocations: 376.7 kB / 464.9 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.4124, allocations: 428.4 kB / 465.3 MB, free: 6.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.4137, allocations: 0.6932 MB / 466 MB, free: 6.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.4161, allocations: 1.179 MB / 467.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.4161, allocations: 6.938 kB / 467.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003499/0.4196, allocations: 1.458 MB / 468.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.4197, allocations: 16.39 kB / 468.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.4197, allocations: 6.25 kB / 468.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006201/0.4203, allocations: 197.4 kB / 468.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.4214, allocations: 288.4 kB / 469.1 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004651/0.4261, allocations: 4.376 MB / 473.5 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.4272, allocations: 74.44 kB / 473.6 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.4273, allocations: 61.12 kB / 473.6 MB, free: 384 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.0006344/0.4279, allocations: 267.2 kB / 473.9 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.4281, allocations: 69.36 kB / 474 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/0.4316, allocations: 1.334 MB / 475.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.4316, allocations: 12.38 kB / 475.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.4317, allocations: 8.062 kB / 475.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.4317, allocations: 3.984 kB / 475.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005703/0.4374, allocations: 2.596 MB / 477.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.4374, allocations: 7.969 kB / 477.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/0.4384, allocations: 215.7 kB / 478.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/0.4389, allocations: 162.6 kB / 478.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.439, allocations: 31.98 kB / 478.3 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.4451, allocations: 4.176 MB / 482.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.4451, allocations: 9.062 kB / 482.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.4495, allocations: 1.869 MB / 484.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/0.4499, allocations: 228.6 kB / 484.6 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.45, allocations: 20 kB / 484.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/0.4507, allocations: 59.95 kB / 484.7 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.4509, allocations: 96.86 kB / 484.8 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.387e-05/0.451, allocations: 35.98 kB / 484.8 MB, free: 5.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003418/0.4513, allocations: 267.5 kB / 485.1 MB, free: 5.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4513, allocations: 0 / 485.1 MB, free: 5.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001268/0.4526, allocations: 308 kB / 485.4 MB, free: 5.117 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.0004207/0.453, allocations: 179.8 kB / 485.6 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003124/0.4562, allocations: 1.39 MB / 486.9 MB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4562, allocations: 1.234 kB / 486.9 MB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.4577, allocations: 0.8192 MB / 487.8 MB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.4582, allocations: 73.56 kB / 487.8 MB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.4624, allocations: 1.892 MB / 489.7 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007156/0.4631, allocations: 1.005 MB / 490.7 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006009/0.4637, allocations: 142.6 kB / 490.9 MB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.4639, allocations: 79.41 kB / 491 MB, free: 15.42 MB / 398.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4639, allocations: 0 / 491 MB, free: 15.42 MB / 398.1 MB Notification: Performance of Templates: time 0.02213/0.4861, allocations: 10.69 MB / 0.4899 GB, free: 4.77 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.047195355407894]