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.001551/0.001551, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001713/0.001713, allocations: 180.5 kB / 23.72 MB, free: 4.699 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.412/1.412, allocations: 225.6 MB / 252.5 MB, free: 13.01 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 51.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.239, allocations: 52.19 MB / 422.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007013/0.246, allocations: 5.287 MB / 427.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.2492, allocations: 1.689 MB / 429.6 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.2495, allocations: 20 kB / 429.6 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003154/0.2526, allocations: 1.42 MB / 431.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007408/0.2534, allocations: 325.6 kB / 431.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.255, allocations: 0.8206 MB / 432.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009812/0.256, allocations: 0.8167 MB / 433 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.257, allocations: 0.679 MB / 433.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004355/0.2575, allocations: 366.7 kB / 434.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.258, allocations: 470.1 kB / 434.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2581, allocations: 72 kB / 434.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004912/0.2586, allocations: 259.8 kB / 434.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.2588, allocations: 175.4 kB / 435 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.2591, allocations: 425.9 kB / 435.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.2605, allocations: 1.203 MB / 436.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2605, allocations: 0 / 436.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2605, allocations: 0 / 436.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.2605, allocations: 0 / 436.6 MB, free: 0.5352 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.003803/0.2643, allocations: 1.382 MB / 438 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2643, allocations: 8.031 kB / 438 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.2645, allocations: 156.4 kB / 438.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.2661, allocations: 256.2 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.2663, allocations: 205.4 kB / 438.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.2664, allocations: 74.38 kB / 438.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.2665, allocations: 108.2 kB / 438.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.268, allocations: 0.9423 MB / 439.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.2681, allocations: 0 / 439.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.2682, allocations: 40 kB / 439.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.2682, allocations: 28 kB / 439.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.2695, allocations: 0.7808 MB / 440.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005569/0.2751, allocations: 3.041 MB / 443.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.2769, allocations: 0.8771 MB / 444.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.2775, allocations: 324.2 kB / 444.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.775e-05/0.2775, allocations: 32.97 kB / 444.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.2776, allocations: 43.5 kB / 444.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.214e-06/0.2776, allocations: 0 / 444.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002124/0.2797, allocations: 0.9964 MB / 445.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.2798, allocations: 94.05 kB / 446 MB, free: 6.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.2803, allocations: 364.4 kB / 446.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.2803, allocations: 41.7 kB / 446.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.2806, allocations: 392.2 kB / 446.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.2808, allocations: 313.3 kB / 447.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.2811, allocations: 174.9 kB / 447.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.2813, allocations: 366.7 kB / 447.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.2818, allocations: 266.5 kB / 447.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.2824, allocations: 483.4 kB / 448.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.2836, allocations: 0.7628 MB / 449.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2836, allocations: 0 / 449.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001747/0.2853, allocations: 0.969 MB / 450.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2853, allocations: 8 kB / 450.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.2854, allocations: 8 kB / 450.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.2857, allocations: 119.6 kB / 450.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/0.2865, allocations: 211.7 kB / 450.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005075/0.2916, allocations: 5.713 MB / 456.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.2922, allocations: 107.2 kB / 456.2 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/0.2923, allocations: 43.98 kB / 456.3 MB, free: 11.96 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.0003388/0.2926, allocations: 231.7 kB / 456.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.2927, allocations: 55.67 kB / 456.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.2942, allocations: 0.8403 MB / 457.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.2943, allocations: 8 kB / 457.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.2943, allocations: 11.88 kB / 457.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.2943, allocations: 3.984 kB / 457.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.2972, allocations: 1.755 MB / 459.2 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.2972, allocations: 8.281 kB / 459.2 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.2978, allocations: 135.8 kB / 459.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002834/0.2981, allocations: 103.4 kB / 459.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.2981, allocations: 20 kB / 459.4 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004455/0.3026, allocations: 5.307 MB / 464.7 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3026, allocations: 0 / 464.7 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.3045, allocations: 1.273 MB / 466 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3046, allocations: 67.47 kB / 466.1 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-05/0.3047, allocations: 23.92 kB / 466.1 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.3051, allocations: 20 kB / 466.1 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3052, allocations: 64.48 kB / 466.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.3052, allocations: 36.05 kB / 466.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.3055, allocations: 247.2 kB / 466.5 MB, free: 1.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3055, allocations: 4 kB / 466.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009023/0.3064, allocations: 259.5 kB / 466.7 MB, free: 0.8672 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.002321/0.3088, allocations: 1.871 MB / 468.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.3105, allocations: 1.121 MB / 469.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3105, allocations: 0 / 469.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009409/0.3114, allocations: 0.7619 MB / 470.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.312, allocations: 69.36 kB / 470.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008444/0.3204, allocations: 5.706 MB / 476.2 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.3211, allocations: 0.9149 MB / 477.2 MB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004229/0.3215, allocations: 105 kB / 477.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.3218, allocations: 243.4 kB / 477.5 MB, free: 5.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3219, allocations: 4 kB / 477.5 MB, free: 5.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06021/0.3821, allocations: 13.61 MB / 491.1 MB, free: 8.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.08, allocations: 7.922 kB / 491.1 MB, free: 8.109 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] 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: 15.40908035216853]