Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008154/0.0008154, allocations: 88.33 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008381/0.0008381, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8739/0.8739, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.644e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005215/0.005231, allocations: 3.801 MB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003101/0.008332, allocations: 1.642 MB / 330 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.008625, allocations: 12 kB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.01072, allocations: 0.9758 MB / 331 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005958/0.01132, allocations: 262 kB / 331.2 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.01282, allocations: 0.7224 MB / 331.9 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.01331, allocations: 0.6333 MB / 332.6 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004891/0.0138, allocations: 427.4 kB / 333 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.01416, allocations: 387.1 kB / 333.4 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.01438, allocations: 255.3 kB / 333.6 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.01443, allocations: 52 kB / 333.7 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.0148, allocations: 287.5 kB / 333.9 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.01486, allocations: 131.5 kB / 334.1 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.01498, allocations: 211.5 kB / 334.3 MB, free: 6.094 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000707/0.01569, allocations: 0.9657 MB / 335.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01569, allocations: 0 / 335.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01569, allocations: 0 / 335.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.0157, allocations: 3.938 kB / 335.2 MB, free: 5.121 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001989/0.01769, allocations: 1.164 MB / 336.4 MB, free: 3.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.01773, allocations: 15.98 kB / 336.4 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.579e-05/0.01781, allocations: 110.7 kB / 336.5 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006106/0.01842, allocations: 180.4 kB / 336.7 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.01856, allocations: 173.7 kB / 336.9 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.0186, allocations: 50.38 kB / 336.9 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.042e-05/0.01868, allocations: 72.33 kB / 337 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007874/0.01946, allocations: 0.7331 MB / 337.7 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.01948, allocations: 4.188 kB / 337.7 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.01952, allocations: 28.12 kB / 337.8 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.01953, allocations: 16 kB / 337.8 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007535/0.02028, allocations: 0.5946 MB / 338.4 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.0227, allocations: 1.873 MB / 340.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008043/0.0235, allocations: 0.6736 MB / 340.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.0238, allocations: 259.4 kB / 341.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.02391, allocations: 20.64 kB / 341.2 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.02394, allocations: 43.22 kB / 341.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 2.555e-06/0.02394, allocations: 4 kB / 341.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009693/0.02491, allocations: 0.7086 MB / 342 MB, free: 14.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.02495, allocations: 111.4 kB / 342.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.02516, allocations: 273.6 kB / 342.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.02519, allocations: 33.7 kB / 342.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.0253, allocations: 276.8 kB / 342.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.02541, allocations: 233.9 kB / 342.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.02553, allocations: 118.6 kB / 343 MB, free: 13.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.02562, allocations: 350.8 kB / 343.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.02589, allocations: 209.9 kB / 343.5 MB, free: 12.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.02623, allocations: 327.1 kB / 343.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.02684, allocations: 0.5146 MB / 344.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.02685, allocations: 0 / 344.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007611/0.02761, allocations: 0.6375 MB / 345 MB, free: 11.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.02762, allocations: 11.98 kB / 345 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.02763, allocations: 0 / 345 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.02764, allocations: 8 kB / 345 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.02802, allocations: 155.8 kB / 345.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.02803, allocations: 4.188 kB / 345.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.02824, allocations: 75.55 kB / 345.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.02827, allocations: 24 kB / 345.3 MB, free: 10.78 MB / 314.7 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.0001521/0.02842, allocations: 189.6 kB / 345.5 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.02848, allocations: 47.69 kB / 345.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.02952, allocations: 0.599 MB / 346.1 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.02952, allocations: 4 kB / 346.1 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.02953, allocations: 4 kB / 346.1 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.02954, allocations: 3.984 kB / 346.1 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.03086, allocations: 1.186 MB / 347.3 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.03086, allocations: 0 / 347.3 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.03115, allocations: 131.8 kB / 347.4 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.03115, allocations: 4 kB / 347.4 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.03118, allocations: 19.98 kB / 347.4 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.03118, allocations: 7.938 kB / 347.5 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.03118, allocations: 0 / 347.5 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.03225, allocations: 0.9823 MB / 348.4 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.0323, allocations: 47.73 kB / 348.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.03233, allocations: 12 kB / 348.5 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.03252, allocations: 27.97 kB / 348.5 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.03259, allocations: 48.52 kB / 348.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.03261, allocations: 23.98 kB / 348.6 MB, free: 7.367 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.03274, allocations: 189.2 kB / 348.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03274, allocations: 0 / 348.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000395/0.03314, allocations: 187.5 kB / 349 MB, free: 7 MB / 314.7 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.001318/0.03446, allocations: 1.566 MB / 350.5 MB, free: 5.402 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006646/0.03512, allocations: 0.5094 MB / 351 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.03512, allocations: 0 / 351 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.03541, allocations: 251.6 kB / 351.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.03578, allocations: 55.95 kB / 351.3 MB, free: 4.598 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.04005, allocations: 4.175 MB / 355.5 MB, free: 304 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.04022, allocations: 245.1 kB / 355.8 MB, free: 32 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002236/0.04044, allocations: 71.41 kB / 355.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.04064, allocations: 196.4 kB / 356 MB, free: 15.77 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.04064, allocations: 0 / 356 MB, free: 15.77 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.06263, allocations: 10.38 MB / 366.4 MB, free: 5.566 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.064, allocations: 7.922 kB / 366.4 MB, free: 5.559 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable hollowCylinderAxialOuter.port_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv. Warning: Get data of variable hollowCylinderAxialOuter.port_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.770827485248446]