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.001463/0.001463, allocations: 104.7 kB / 18.49 MB, free: 4.605 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.001478/0.001478, allocations: 189 kB / 21.43 MB, free: 1.676 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.368/1.368, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 47.92 kB / 366.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09955/0.101, allocations: 52.14 MB / 418.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006709/0.1077, allocations: 5.27 MB / 423.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.1109, allocations: 1.689 MB / 425.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.1112, allocations: 16 kB / 425.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.1143, allocations: 1.418 MB / 426.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008394/0.1151, allocations: 317.6 kB / 427.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.1167, allocations: 0.813 MB / 428 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009896/0.1177, allocations: 0.8205 MB / 428.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009185/0.1186, allocations: 0.5973 MB / 429.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.1191, allocations: 358.7 kB / 429.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005171/0.1196, allocations: 470.1 kB / 430.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-05/0.1197, allocations: 72 kB / 430.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005417/0.1202, allocations: 263.8 kB / 430.6 MB, free: 448 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1203, allocations: 175.4 kB / 430.7 MB, free: 272 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003806/0.1207, allocations: 417.9 kB / 431.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.122, allocations: 1.202 MB / 432.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.122, allocations: 0 / 432.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.122, allocations: 11.88 kB / 432.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1221, allocations: 0 / 432.4 MB, free: 14.64 MB / 366.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.003912/0.126, allocations: 1.454 MB / 433.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.126, allocations: 8.031 kB / 433.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.419e-05/0.126, allocations: 26.19 kB / 433.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.1262, allocations: 156.3 kB / 434 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.1278, allocations: 256.2 kB / 434.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1281, allocations: 263.9 kB / 434.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.1282, allocations: 74.38 kB / 434.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.1283, allocations: 100.3 kB / 434.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.1298, allocations: 0.9421 MB / 435.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.1299, allocations: 7.984 kB / 435.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/0.13, allocations: 40 kB / 435.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.13, allocations: 24 kB / 435.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.1313, allocations: 0.7847 MB / 436.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00508/0.1364, allocations: 3.354 MB / 439.8 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.1383, allocations: 1.189 MB / 441 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.1389, allocations: 325.1 kB / 441.3 MB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.139, allocations: 102.1 kB / 441.4 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.139, allocations: 47.5 kB / 441.5 MB, free: 5.105 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.905e-06/0.139, allocations: 0 / 441.5 MB, free: 5.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002267/0.1413, allocations: 1.304 MB / 442.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1414, allocations: 86.11 kB / 442.9 MB, free: 3.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.1418, allocations: 364.4 kB / 443.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.1418, allocations: 45.69 kB / 443.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.1421, allocations: 384.2 kB / 443.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.1424, allocations: 317.3 kB / 444 MB, free: 2.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.1426, allocations: 174.9 kB / 444.1 MB, free: 2.312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1428, allocations: 362.7 kB / 444.5 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.1433, allocations: 270.5 kB / 444.8 MB, free: 1.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.1439, allocations: 471.4 kB / 445.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.145, allocations: 0.7706 MB / 446 MB, free: 308 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.145, allocations: 4 kB / 446 MB, free: 304 kB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.1978/0.3428, allocations: 0.9734 MB / 447 MB, free: 29.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.3428, allocations: 9.719 kB / 447 MB, free: 29.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3428, allocations: 5.469 kB / 447 MB, free: 29.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003785/0.3432, allocations: 121.1 kB / 447.1 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/0.3439, allocations: 210 kB / 447.3 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.3468, allocations: 6.107 MB / 453.4 MB, free: 23.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005811/0.3474, allocations: 104.2 kB / 453.5 MB, free: 23.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.3475, allocations: 44.44 kB / 453.6 MB, free: 23.77 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.0002764/0.3478, allocations: 228.7 kB / 453.8 MB, free: 23.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3479, allocations: 56.66 kB / 453.8 MB, free: 23.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.3491, allocations: 0.8559 MB / 454.7 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.3492, allocations: 8.75 kB / 454.7 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3492, allocations: 2.781 kB / 454.7 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3492, allocations: 1.266 kB / 454.7 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.3518, allocations: 1.923 MB / 456.6 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.3518, allocations: 2.594 kB / 456.6 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005902/0.3524, allocations: 141.8 kB / 456.8 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.3527, allocations: 109.9 kB / 456.9 MB, free: 22.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/0.3527, allocations: 27.11 kB / 456.9 MB, free: 22.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/0.3556, allocations: 5.711 MB / 462.6 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3556, allocations: 5.906 kB / 462.6 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.3575, allocations: 1.274 MB / 463.9 MB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.3577, allocations: 147 kB / 464 MB, free: 16.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/0.3578, allocations: 19.92 kB / 464.1 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.3582, allocations: 21.23 kB / 464.1 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.3583, allocations: 66.83 kB / 464.1 MB, free: 16.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.3584, allocations: 35.14 kB / 464.2 MB, free: 16.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.3587, allocations: 255.5 kB / 464.4 MB, free: 16.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3587, allocations: 0 / 464.4 MB, free: 16.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001051/0.3597, allocations: 262.9 kB / 464.7 MB, free: 16.18 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.002064/0.3618, allocations: 1.864 MB / 466.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.3635, allocations: 1.122 MB / 467.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3635, allocations: 4.062 kB / 467.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007548/0.3642, allocations: 0.7575 MB / 468.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.3648, allocations: 62.59 kB / 468.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/0.3723, allocations: 5.71 MB / 474.2 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.3727, allocations: 0.9145 MB / 475.1 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004447/0.3732, allocations: 105.2 kB / 475.2 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.3735, allocations: 239.7 kB / 475.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3735, allocations: 0 / 475.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04645/0.4199, allocations: 12.99 MB / 488.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.17, allocations: 15.75 kB / 488.5 MB, free: 4.766 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.518006496015005]