Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001382/0.001382, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001655/0.001655, allocations: 187.5 kB / 24.46 MB, free: 3.863 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.458/1.458, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 47.92 kB / 371.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2555, allocations: 52.18 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007064/0.2625, allocations: 4.696 MB / 428.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.2658, allocations: 1.592 MB / 430.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.2661, allocations: 23.94 kB / 430.1 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.2694, allocations: 1.305 MB / 431.4 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009344/0.2704, allocations: 321.7 kB / 431.8 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.2721, allocations: 0.7705 MB / 432.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.2732, allocations: 0.8167 MB / 433.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.2743, allocations: 0.6673 MB / 434 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.2748, allocations: 366.6 kB / 434.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005461/0.2753, allocations: 414.1 kB / 434.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.2754, allocations: 76 kB / 434.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005746/0.276, allocations: 239.8 kB / 435.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.2761, allocations: 179.3 kB / 435.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.2765, allocations: 342.4 kB / 435.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.2779, allocations: 1.208 MB / 436.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2779, allocations: 0 / 436.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2779, allocations: 4 kB / 436.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.2779, allocations: 0 / 436.8 MB, free: 1.484 MB / 334.1 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.00402/0.282, allocations: 1.386 MB / 438.2 MB, free: 68 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.282, allocations: 12.03 kB / 438.2 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.2836, allocations: 256.2 kB / 438.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.2839, allocations: 201.4 kB / 438.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.389e-05/0.284, allocations: 74.38 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.2842, allocations: 100.3 kB / 438.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.2858, allocations: 0.9463 MB / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.2859, allocations: 4 kB / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/0.286, allocations: 43.94 kB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.286, allocations: 24 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.2874, allocations: 0.7731 MB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00521/0.2926, allocations: 2.668 MB / 443.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.2945, allocations: 0.8737 MB / 444.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.295, allocations: 317.1 kB / 444.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-05/0.2951, allocations: 20.98 kB / 444.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.2952, allocations: 51.48 kB / 444.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 3.537e-06/0.2952, allocations: 4 kB / 444.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002219/0.2974, allocations: 0.9924 MB / 445.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.2975, allocations: 90.09 kB / 445.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.2979, allocations: 339.9 kB / 445.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.298, allocations: 41.7 kB / 446 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.2983, allocations: 396.2 kB / 446.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.2986, allocations: 317.3 kB / 446.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.2988, allocations: 174.9 kB / 446.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.299, allocations: 354.8 kB / 447.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.2996, allocations: 266.5 kB / 447.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/0.3003, allocations: 479.4 kB / 447.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.3015, allocations: 0.7667 MB / 448.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3015, allocations: 7.938 kB / 448.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001847/0.3033, allocations: 0.9693 MB / 449.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.3034, allocations: 8 kB / 449.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.3034, allocations: 4 kB / 449.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/0.3038, allocations: 123.3 kB / 449.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/0.3047, allocations: 211.7 kB / 450 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.3096, allocations: 5.602 MB / 455.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.3103, allocations: 99.3 kB / 455.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.3104, allocations: 43.98 kB / 455.8 MB, free: 13.66 MB / 366.1 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.0004072/0.3108, allocations: 227.6 kB / 456 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.3109, allocations: 55.67 kB / 456 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.3125, allocations: 0.8432 MB / 456.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.3126, allocations: 8 kB / 456.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.3126, allocations: 8 kB / 456.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.3126, allocations: 3.984 kB / 456.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.3156, allocations: 1.542 MB / 458.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.3156, allocations: 0 / 458.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.3162, allocations: 143.7 kB / 458.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003471/0.3165, allocations: 115.6 kB / 458.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.3166, allocations: 16 kB / 458.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004521/0.3211, allocations: 5.192 MB / 463.9 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.3211, allocations: 7.938 kB / 463.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.3232, allocations: 1.269 MB / 465.2 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.3234, allocations: 63.77 kB / 465.2 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.3235, allocations: 31.92 kB / 465.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.3239, allocations: 20 kB / 465.3 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.3241, allocations: 64.48 kB / 465.4 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.3241, allocations: 27.98 kB / 465.4 MB, free: 3.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002757/0.3244, allocations: 215.1 kB / 465.6 MB, free: 3.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3244, allocations: 3.938 kB / 465.6 MB, free: 3.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001034/0.3254, allocations: 267.5 kB / 465.9 MB, free: 2.988 MB / 366.1 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.000321/0.3257, allocations: 153.5 kB / 466 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.3277, allocations: 1.13 MB / 467.1 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3277, allocations: 0 / 467.1 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.3287, allocations: 0.7643 MB / 467.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.3293, allocations: 56.66 kB / 468 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.3323, allocations: 1.451 MB / 469.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.3327, allocations: 314.3 kB / 469.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.3329, allocations: 67.36 kB / 469.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3329, allocations: 0 / 469.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of Templates: time 0.0281/0.361, allocations: 21.24 MB / 491 MB, free: 9.613 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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: 8.432201739400625]