Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008253/0.0008253, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008527/0.0008527, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8674/0.8674, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.345e-05, allocations: 4.672 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.003888/0.003901, allocations: 4.706 MB / 329.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.006136, allocations: 1.662 MB / 330.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.006403, allocations: 16 kB / 331 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.007895, allocations: 1.387 MB / 332.3 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.008451, allocations: 333.4 kB / 332.7 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.009189, allocations: 0.6224 MB / 333.3 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.009793, allocations: 0.8397 MB / 334.1 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006951/0.01049, allocations: 0.6635 MB / 334.8 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.01091, allocations: 0.5183 MB / 335.3 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.01119, allocations: 347 kB / 335.7 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.154e-05/0.01125, allocations: 72 kB / 335.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.01157, allocations: 251.6 kB / 336 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.01165, allocations: 183.3 kB / 336.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.01182, allocations: 291.3 kB / 336.4 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007705/0.01259, allocations: 1.226 MB / 337.7 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.01259, allocations: 0 / 337.7 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01259, allocations: 0 / 337.7 MB, free: 2.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.0126, allocations: 0 / 337.7 MB, free: 2.793 MB / 298.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.002029/0.01463, allocations: 1.398 MB / 339.1 MB, free: 1.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.01466, allocations: 8.031 kB / 339.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.01477, allocations: 152.4 kB / 339.2 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.01554, allocations: 240.2 kB / 339.5 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.01569, allocations: 200.7 kB / 339.6 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.01573, allocations: 74.38 kB / 339.7 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.01583, allocations: 100.4 kB / 339.8 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/0.01678, allocations: 0.9427 MB / 340.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.01681, allocations: 12.12 kB / 340.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.01686, allocations: 44.12 kB / 340.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.01687, allocations: 24 kB / 340.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008684/0.01774, allocations: 0.7775 MB / 341.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.02084, allocations: 2.833 MB / 344.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.02185, allocations: 0.8787 MB / 345.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.02216, allocations: 329 kB / 345.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.02222, allocations: 36.91 kB / 345.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.02224, allocations: 43.56 kB / 345.7 MB, free: 10.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 2.034e-06/0.02225, allocations: 3.938 kB / 345.7 MB, free: 10.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.001207/0.02345, allocations: 1.011 MB / 346.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.02349, allocations: 86.11 kB / 346.8 MB, free: 9.355 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.02374, allocations: 388.2 kB / 347.2 MB, free: 8.969 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.02377, allocations: 37.73 kB / 347.2 MB, free: 8.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.02391, allocations: 396.2 kB / 347.6 MB, free: 8.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/0.02427, allocations: 301.4 kB / 347.9 MB, free: 8.234 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.02442, allocations: 178.9 kB / 348.1 MB, free: 8.051 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.02451, allocations: 358.8 kB / 348.4 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.02479, allocations: 266.5 kB / 348.7 MB, free: 7.434 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.02516, allocations: 479.4 kB / 349.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.02585, allocations: 0.7745 MB / 350 MB, free: 6.035 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.02585, allocations: 0 / 350 MB, free: 6.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0009798/0.02683, allocations: 0.988 MB / 350.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.02685, allocations: 7.984 kB / 350.9 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.02686, allocations: 8.719 kB / 351 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/0.02708, allocations: 127.3 kB / 351.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.02746, allocations: 199.7 kB / 351.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.02999, allocations: 5.685 MB / 357 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.03024, allocations: 99.25 kB / 357.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.03027, allocations: 39.98 kB / 357.1 MB, free: 14.4 MB / 330.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.0001782/0.03045, allocations: 234.4 kB / 357.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.03051, allocations: 59.61 kB / 357.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008511/0.03137, allocations: 0.8325 MB / 358.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.03137, allocations: 12 kB / 358.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.03137, allocations: 11.92 kB / 358.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.03138, allocations: 3.984 kB / 358.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.03299, allocations: 1.678 MB / 359.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.03299, allocations: 0 / 359.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.03326, allocations: 140.1 kB / 360.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.03341, allocations: 107.4 kB / 360.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.03344, allocations: 20 kB / 360.2 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.03555, allocations: 5.273 MB / 365.5 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.03555, allocations: 4 kB / 365.5 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.03667, allocations: 1.281 MB / 366.7 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.03672, allocations: 63.55 kB / 366.8 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.03676, allocations: 27.98 kB / 366.8 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.03694, allocations: 23.94 kB / 366.9 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.03702, allocations: 68.47 kB / 366.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.03704, allocations: 24 kB / 366.9 MB, free: 3.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.03721, allocations: 263.1 kB / 367.2 MB, free: 3.652 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03721, allocations: 0 / 367.2 MB, free: 3.652 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000577/0.03779, allocations: 267.5 kB / 367.5 MB, free: 3.391 MB / 330.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.001703/0.03949, allocations: 1.883 MB / 369.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.04054, allocations: 1.134 MB / 370.5 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.04054, allocations: 0 / 370.5 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.04104, allocations: 0.76 MB / 371.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.04141, allocations: 58.55 kB / 371.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.04643, allocations: 5.662 MB / 377 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.04662, allocations: 314.4 kB / 377.3 MB, free: 9.074 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.04687, allocations: 105.1 kB / 377.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.04708, allocations: 248.4 kB / 377.6 MB, free: 8.73 MB / 346.7 MB Notification: Performance of SimCode: time 4.4e-07/0.04708, allocations: 4 kB / 377.6 MB, free: 8.727 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.07821, allocations: 14.01 MB / 391.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.43, allocations: 9.922 kB / 391.6 MB, free: 10.92 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.022245203144848]