Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001858/0.001858, allocations: 108.5 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.002318/0.002318, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 55.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2841, allocations: 49.16 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004707/0.2888, allocations: 4.175 MB / 400.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.2918, allocations: 1.691 MB / 402.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004007/0.2922, allocations: 11.88 kB / 402.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.2944, allocations: 1.015 MB / 403.3 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006851/0.2951, allocations: 236.4 kB / 403.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.2966, allocations: 0.7726 MB / 404.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.2973, allocations: 0.6203 MB / 404.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007094/0.2981, allocations: 441.9 kB / 405.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.2985, allocations: 283.6 kB / 405.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.2989, allocations: 331 kB / 405.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.842e-05/0.299, allocations: 52.78 kB / 406 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006861/0.2997, allocations: 275.1 kB / 406.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.914e-05/0.2998, allocations: 131.4 kB / 406.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.3, allocations: 309.8 kB / 406.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.3013, allocations: 0.9094 MB / 407.6 MB, free: 1.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3013, allocations: 5.375 kB / 407.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3013, allocations: 0 / 407.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.3013, allocations: 0 / 407.6 MB, free: 1.988 MB / 318.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.003442/0.3047, allocations: 1.147 MB / 408.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3048, allocations: 13.39 kB / 408.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.3049, allocations: 112.2 kB / 408.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.306, allocations: 176.7 kB / 409 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.3062, allocations: 184.7 kB / 409.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.3062, allocations: 49.88 kB / 409.2 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.3063, allocations: 71.69 kB / 409.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3076, allocations: 0.7094 MB / 410 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.3076, allocations: 1.156 kB / 410 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.3077, allocations: 26.94 kB / 410 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.3077, allocations: 15.5 kB / 410.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.3089, allocations: 0.5959 MB / 410.7 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/0.3125, allocations: 2.23 MB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.3139, allocations: 0.677 MB / 413.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/0.3144, allocations: 243.9 kB / 413.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.3145, allocations: 25.53 kB / 413.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.3145, allocations: 38.69 kB / 413.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.615e-06/0.3145, allocations: 0 / 413.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001588/0.3161, allocations: 0.7088 MB / 414.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/0.3162, allocations: 109 kB / 414.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.3165, allocations: 266.6 kB / 414.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.3166, allocations: 35.86 kB / 415 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.3167, allocations: 271.1 kB / 415.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.3169, allocations: 239.5 kB / 415.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.3171, allocations: 117.3 kB / 415.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3173, allocations: 354.9 kB / 415.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.3178, allocations: 207.3 kB / 416.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005544/0.3183, allocations: 303.1 kB / 416.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.3193, allocations: 0.5111 MB / 416.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3194, allocations: 0 / 416.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00127/0.3206, allocations: 0.6291 MB / 417.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3206, allocations: 5.656 kB / 417.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.3207, allocations: 1.375 kB / 417.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.3207, allocations: 8.906 kB / 417.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.3214, allocations: 159.9 kB / 417.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.3214, allocations: 8.234 kB / 417.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.3219, allocations: 79.69 kB / 417.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.322, allocations: 24.83 kB / 417.9 MB, free: 11.5 MB / 334.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.000274/0.3223, allocations: 187.7 kB / 418 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3224, allocations: 37.08 kB / 418.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.3237, allocations: 0.6048 MB / 418.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.3237, allocations: 10.89 kB / 418.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3237, allocations: 5.344 kB / 418.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3237, allocations: 0 / 418.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.3259, allocations: 1.269 MB / 420 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3259, allocations: 0 / 420 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/0.3265, allocations: 125.5 kB / 420.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3265, allocations: 2.5 kB / 420.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.3265, allocations: 24.61 kB / 420.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3265, allocations: 2.656 kB / 420.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3265, allocations: 5 kB / 420.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.3282, allocations: 0.9743 MB / 421.1 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.3283, allocations: 48.84 kB / 421.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/0.3284, allocations: 15.44 kB / 421.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.3287, allocations: 25.95 kB / 421.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3289, allocations: 42.84 kB / 421.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.3289, allocations: 17.41 kB / 421.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.3291, allocations: 192.6 kB / 421.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3291, allocations: 0 / 421.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006354/0.3297, allocations: 181.2 kB / 421.6 MB, free: 9.133 MB / 334.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.002197/0.3319, allocations: 1.562 MB / 423.2 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.3331, allocations: 0.5056 MB / 423.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3332, allocations: 0 / 423.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005067/0.3337, allocations: 248 kB / 423.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.3342, allocations: 64.34 kB / 424 MB, free: 7.234 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007006/0.3412, allocations: 4.217 MB / 428.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.3417, allocations: 0.8499 MB / 429.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.3421, allocations: 83.33 kB / 429.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.3424, allocations: 191.4 kB / 429.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3424, allocations: 0 / 429.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04302/0.3854, allocations: 9.856 MB / 439.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.29, allocations: 7.938 kB / 439.2 MB, free: 7.832 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.956443330971524]