Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.00133/0.00133, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001046/0.001046, allocations: 168.1 kB / 25.69 MB, free: 8.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8504/0.8504, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.494e-05, allocations: 6.25 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004013/0.004028, allocations: 5.033 MB / 256.6 MB, free: 2.211 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.006425, allocations: 1.74 MB / 258.3 MB, free: 464 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.006694, allocations: 20 kB / 258.3 MB, free: 444 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.00827, allocations: 1.509 MB / 259.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.008802, allocations: 337.4 kB / 260.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.009565, allocations: 0.6151 MB / 260.8 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006476/0.01021, allocations: 0.8438 MB / 261.6 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.01091, allocations: 0.7085 MB / 262.3 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.01132, allocations: 0.5105 MB / 262.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.01164, allocations: 375 kB / 263.2 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.995e-05/0.01171, allocations: 72 kB / 263.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.01208, allocations: 251.6 kB / 263.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.75e-05/0.01216, allocations: 183.3 kB / 263.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.01234, allocations: 283.3 kB / 264 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006665/0.01301, allocations: 0.8018 MB / 264.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.01301, allocations: 0 / 264.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01301, allocations: 0 / 264.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.01302, allocations: 0 / 264.8 MB, free: 9.934 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001877/0.01489, allocations: 1.431 MB / 266.2 MB, free: 8.477 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.01492, allocations: 11.98 kB / 266.2 MB, free: 8.465 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009431/0.01587, allocations: 452 kB / 266.7 MB, free: 8.023 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.01599, allocations: 196.8 kB / 266.9 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.01603, allocations: 74.38 kB / 266.9 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.01611, allocations: 100.4 kB / 267 MB, free: 7.633 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.01665, allocations: 0.6534 MB / 267.7 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.01668, allocations: 12.06 kB / 267.7 MB, free: 6.957 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.01672, allocations: 48.36 kB / 267.7 MB, free: 6.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.01674, allocations: 31.88 kB / 267.8 MB, free: 6.879 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.01705, allocations: 281.6 kB / 268 MB, free: 6.602 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.01931, allocations: 2.179 MB / 270.2 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000696/0.02001, allocations: 0.6508 MB / 270.9 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.02018, allocations: 189.1 kB / 271.1 MB, free: 3.473 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.769e-05/0.02024, allocations: 28.98 kB / 271.1 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.02026, allocations: 43.56 kB / 271.1 MB, free: 3.395 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 2.074e-06/0.02026, allocations: 0 / 271.1 MB, free: 3.395 MB / 250.7 MB Notification: Performance of matching and sorting (n=87): time 0.0007183/0.02098, allocations: 0.5484 MB / 271.7 MB, free: 2.828 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.02101, allocations: 86.11 kB / 271.8 MB, free: 2.723 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.02118, allocations: 310.6 kB / 272.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.02121, allocations: 45.64 kB / 272.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.02135, allocations: 388 kB / 272.5 MB, free: 1.973 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.02149, allocations: 313.3 kB / 272.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.02163, allocations: 170.8 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.02172, allocations: 362.7 kB / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.02183, allocations: 98.58 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.02204, allocations: 311.4 kB / 273.7 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.02242, allocations: 0.489 MB / 274.2 MB, free: 88 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.02243, allocations: 0 / 274.2 MB, free: 88 kB / 250.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0005551/0.02298, allocations: 0.5608 MB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.023, allocations: 8 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.02301, allocations: 15.97 kB / 274.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/0.02333, allocations: 135.8 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.02371, allocations: 199.7 kB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.02578, allocations: 5.108 MB / 280.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.02601, allocations: 103.2 kB / 280.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.02604, allocations: 28 kB / 280.4 MB, free: 9.555 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.02618, allocations: 169.6 kB / 280.5 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.02625, allocations: 67.83 kB / 280.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/0.02674, allocations: 0.5131 MB / 281.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.02675, allocations: 8 kB / 281.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.02675, allocations: 4 kB / 281.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.02676, allocations: 3.984 kB / 281.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.02777, allocations: 0.9408 MB / 282.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.02778, allocations: 12 kB / 282.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.02804, allocations: 135.8 kB / 282.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/0.0283, allocations: 127.2 kB / 282.3 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.02833, allocations: 16 kB / 282.3 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.03032, allocations: 4.745 MB / 287.1 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.03032, allocations: 4 kB / 287.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.03094, allocations: 0.748 MB / 287.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.03099, allocations: 59.42 kB / 287.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.03103, allocations: 20 kB / 287.9 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.03119, allocations: 27.98 kB / 287.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.03126, allocations: 68.42 kB / 288 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.03128, allocations: 16 kB / 288 MB, free: 1.371 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.288e-05/0.03137, allocations: 104.6 kB / 288.1 MB, free: 1.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.03137, allocations: 4 kB / 288.1 MB, free: 1.262 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005567/0.03192, allocations: 259.5 kB / 288.4 MB, free: 1.008 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.port_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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002069/0.03213, allocations: 140.2 kB / 288.5 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007465/0.03288, allocations: 0.8973 MB / 289.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.03289, allocations: 4.5 kB / 289.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.03326, allocations: 0.6687 MB / 290.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.03357, allocations: 61.52 kB / 290.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.03506, allocations: 1.296 MB / 291.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.03517, allocations: 155.3 kB / 291.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002514/0.03542, allocations: 100.9 kB / 291.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.03558, allocations: 127.4 kB / 291.8 MB, free: 13.37 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03558, allocations: 4 kB / 291.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of Templates: time 0.02002/0.0556, allocations: 7.478 MB / 299.3 MB, free: 5.902 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7987501341849566]