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.001658/0.001658, allocations: 109.5 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.001907/0.001907, allocations: 183.9 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.463/1.463, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.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.001573/0.001573, allocations: 51.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2747, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005982/0.2807, allocations: 4.221 MB / 426.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003311/0.284, allocations: 1.65 MB / 428.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.2842, allocations: 12 kB / 428.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.2866, allocations: 1.027 MB / 429.5 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006452/0.2873, allocations: 234.2 kB / 429.8 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.2889, allocations: 0.797 MB / 430.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000696/0.2896, allocations: 0.6261 MB / 431.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006983/0.2903, allocations: 440.3 kB / 431.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.2907, allocations: 275 kB / 431.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004587/0.2912, allocations: 342.6 kB / 432.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.788e-05/0.2912, allocations: 56 kB / 432.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005443/0.2918, allocations: 267.7 kB / 432.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.2919, allocations: 131.5 kB / 432.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.2922, allocations: 310.5 kB / 433 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.2932, allocations: 0.9295 MB / 433.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2932, allocations: 4 kB / 433.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2932, allocations: 0 / 433.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2933, allocations: 0 / 433.9 MB, free: 3.266 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003496/0.2968, allocations: 1.137 MB / 435.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.2968, allocations: 16.03 kB / 435.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.2969, allocations: 110.7 kB / 435.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.2981, allocations: 180.4 kB / 435.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2983, allocations: 182.4 kB / 435.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-05/0.2984, allocations: 50.38 kB / 435.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.2985, allocations: 68.38 kB / 435.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.2998, allocations: 0.7074 MB / 436.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.2998, allocations: 4 kB / 436.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.2998, allocations: 28 kB / 436.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.2999, allocations: 16 kB / 436.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.3011, allocations: 0.6024 MB / 437 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.3046, allocations: 2.232 MB / 439.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.3059, allocations: 0.6655 MB / 439.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005037/0.3064, allocations: 253.7 kB / 440.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.3065, allocations: 24.62 kB / 440.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.3066, allocations: 43.22 kB / 440.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.134e-06/0.3066, allocations: 0 / 440.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001607/0.3082, allocations: 0.7046 MB / 440.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.3083, allocations: 111.5 kB / 441 MB, free: 11.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.3086, allocations: 256.9 kB / 441.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.3086, allocations: 37.7 kB / 441.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.3088, allocations: 272.7 kB / 441.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.309, allocations: 238 kB / 441.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.3092, allocations: 122.8 kB / 441.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3094, allocations: 350.7 kB / 442.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.3099, allocations: 209.9 kB / 442.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.3105, allocations: 305.3 kB / 442.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.3115, allocations: 0.5107 MB / 443.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3115, allocations: 0 / 443.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001362/0.3129, allocations: 0.6338 MB / 443.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3129, allocations: 8 kB / 443.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3129, allocations: 0 / 443.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.3129, allocations: 4 kB / 443.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.3136, allocations: 163.7 kB / 444.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.3137, allocations: 4 kB / 444.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.3141, allocations: 79.47 kB / 444.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.3142, allocations: 20 kB / 444.2 MB, free: 8.629 MB / 350.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.000258/0.3144, allocations: 189.7 kB / 444.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.3145, allocations: 43.75 kB / 444.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.3158, allocations: 0.6029 MB / 445 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.3158, allocations: 8 kB / 445 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3158, allocations: 4 kB / 445 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3159, allocations: 3.984 kB / 445 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.3181, allocations: 1.268 MB / 446.3 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3181, allocations: 4 kB / 446.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.3187, allocations: 127.8 kB / 446.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.3187, allocations: 4 kB / 446.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.3187, allocations: 15.94 kB / 446.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3187, allocations: 0 / 446.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3187, allocations: 4 kB / 446.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.3205, allocations: 0.9823 MB / 447.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.3206, allocations: 47.66 kB / 447.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.3206, allocations: 15.94 kB / 447.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.321, allocations: 32.03 kB / 447.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.3211, allocations: 44.52 kB / 447.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.3212, allocations: 23.98 kB / 447.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.3214, allocations: 188.5 kB / 447.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3214, allocations: 0 / 447.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005903/0.322, allocations: 179.6 kB / 448 MB, free: 4.773 MB / 350.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.002231/0.3242, allocations: 1.566 MB / 449.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3254, allocations: 0.5052 MB / 450 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3254, allocations: 0 / 450 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.3259, allocations: 247.6 kB / 450.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.3264, allocations: 59.83 kB / 450.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006733/0.3331, allocations: 4.233 MB / 454.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.3336, allocations: 0.8421 MB / 455.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003543/0.334, allocations: 83.41 kB / 455.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.3343, allocations: 187.3 kB / 455.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3343, allocations: 0 / 455.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04511/0.3794, allocations: 9.898 MB / 465.6 MB, free: 3.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.07, allocations: 6.797 kB / 465.6 MB, free: 3.16 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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] "Error: Could not read variable hollowCylinderAxialOuter.port_p.reference.gamma in file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv. Warning: Get data of variable hollowCylinderAxialOuter.port_p.reference.gamma from file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.603544752000744]