Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001344/0.001344, allocations: 124.3 kB / 17.79 MB, free: 5.121 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.001324/0.001324, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.444/1.444, allocations: 225.6 MB / 249.1 MB, free: 3.645 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.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 51.92 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09908, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006143/0.1052, allocations: 4.204 MB / 422 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.1086, allocations: 1.65 MB / 423.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.1088, allocations: 8 kB / 423.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.1112, allocations: 1.011 MB / 424.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000668/0.1119, allocations: 246.2 kB / 424.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.1136, allocations: 0.7901 MB / 425.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006963/0.1143, allocations: 0.6183 MB / 426.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000639/0.1149, allocations: 383.2 kB / 426.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.1153, allocations: 271 kB / 427 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004358/0.1157, allocations: 346.6 kB / 427.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.748e-05/0.1158, allocations: 56 kB / 427.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005171/0.1163, allocations: 259.8 kB / 427.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1164, allocations: 131.5 kB / 427.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.1167, allocations: 306.5 kB / 428 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.1178, allocations: 0.9262 MB / 429 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1178, allocations: 0 / 429 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1178, allocations: 0 / 429 MB, free: 1.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.1178, allocations: 0 / 429 MB, free: 1.414 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003703/0.1215, allocations: 1.224 MB / 430.2 MB, free: 140 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1216, allocations: 12.03 kB / 430.2 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.1217, allocations: 110.6 kB / 430.3 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.1228, allocations: 176.4 kB / 430.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.1231, allocations: 240.9 kB / 430.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.1231, allocations: 54.38 kB / 430.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1233, allocations: 64.38 kB / 430.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1246, allocations: 0.7036 MB / 431.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1246, allocations: 0 / 431.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.1247, allocations: 32 kB / 431.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.1247, allocations: 16 kB / 431.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.126, allocations: 0.6024 MB / 432.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.1296, allocations: 2.317 MB / 434.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.1314, allocations: 1.583 MB / 436.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.132, allocations: 235.4 kB / 436.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.1321, allocations: 101.6 kB / 436.4 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.1321, allocations: 43.12 kB / 436.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 1.884e-06/0.1321, allocations: 0 / 436.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00165/0.1338, allocations: 0.7017 MB / 437.1 MB, free: 8.703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.1339, allocations: 111.4 kB / 437.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.1342, allocations: 269.1 kB / 437.5 MB, free: 8.297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.1343, allocations: 33.7 kB / 437.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1344, allocations: 272.7 kB / 437.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.1346, allocations: 238 kB / 438 MB, free: 7.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.1348, allocations: 118.6 kB / 438.2 MB, free: 7.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.135, allocations: 350.7 kB / 438.5 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/0.1355, allocations: 209.8 kB / 438.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.1362, allocations: 305.4 kB / 439 MB, free: 6.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.1372, allocations: 0.5104 MB / 439.5 MB, free: 6.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1372, allocations: 0 / 439.5 MB, free: 6.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001324/0.1386, allocations: 0.6297 MB / 440.1 MB, free: 5.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1386, allocations: 4 kB / 440.2 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1386, allocations: 4 kB / 440.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1386, allocations: 4 kB / 440.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.1393, allocations: 164 kB / 440.3 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1394, allocations: 8 kB / 440.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.1398, allocations: 67.55 kB / 440.4 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.1399, allocations: 27.98 kB / 440.4 MB, free: 5.305 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002348/0.1401, allocations: 193.6 kB / 440.6 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.1402, allocations: 39.7 kB / 440.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.1416, allocations: 0.6085 MB / 441.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.1416, allocations: 8 kB / 441.3 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1416, allocations: 8 kB / 441.3 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1416, allocations: 7.922 kB / 441.3 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.1439, allocations: 1.282 MB / 442.6 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1439, allocations: 0 / 442.6 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.1445, allocations: 131.8 kB / 442.7 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1445, allocations: 8 kB / 442.7 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.1445, allocations: 15.94 kB / 442.7 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1445, allocations: 4 kB / 442.7 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1445, allocations: 0 / 442.7 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.1463, allocations: 0.9792 MB / 443.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1464, allocations: 120.8 kB / 443.8 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/0.1465, allocations: 15.94 kB / 443.8 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.1469, allocations: 31.97 kB / 443.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.147, allocations: 40.5 kB / 443.9 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.147, allocations: 20 kB / 443.9 MB, free: 1.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.1472, allocations: 196.5 kB / 444.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1472, allocations: 0 / 444.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005307/0.1478, allocations: 175.6 kB / 444.3 MB, free: 1.324 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1816/0.3294, allocations: 1.565 MB / 445.9 MB, free: 30.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3305, allocations: 0.4999 MB / 446.4 MB, free: 30.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3305, allocations: 2.156 kB / 446.4 MB, free: 30.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.331, allocations: 250.6 kB / 446.6 MB, free: 30.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.3315, allocations: 48.16 kB / 446.6 MB, free: 30.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005317/0.3368, allocations: 4.232 MB / 450.9 MB, free: 28.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3371, allocations: 0.8457 MB / 451.7 MB, free: 27.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003416/0.3374, allocations: 83.59 kB / 451.8 MB, free: 27.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.3377, allocations: 184.6 kB / 452 MB, free: 27.79 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3377, allocations: 0 / 452 MB, free: 27.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04574/0.3834, allocations: 9.427 MB / 461.4 MB, free: 26.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.747/9.13, allocations: 12.92 kB / 461.4 MB, free: 26.31 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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: 11.619444299023598]