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.001324/0.001324, allocations: 112.2 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.001379/0.001379, allocations: 181.3 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.399/1.399, 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.001612/0.001612, allocations: 51.92 kB / 370.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2425, 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.006119/0.2487, allocations: 4.224 MB / 426.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.2516, allocations: 1.647 MB / 428.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.252, allocations: 12 kB / 428.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.2546, allocations: 1.022 MB / 429.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007502/0.2553, allocations: 238.2 kB / 429.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.2571, allocations: 0.8015 MB / 430.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008662/0.2579, allocations: 0.6183 MB / 431.2 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008037/0.2587, allocations: 448.2 kB / 431.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.2592, allocations: 275 kB / 431.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005707/0.2598, allocations: 342.6 kB / 432.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.2599, allocations: 52 kB / 432.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006286/0.2605, allocations: 263.8 kB / 432.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.2606, allocations: 131.5 kB / 432.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.261, allocations: 318.5 kB / 433 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.2622, allocations: 0.9217 MB / 433.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2622, allocations: 4 kB / 433.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2622, allocations: 0 / 433.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.2622, allocations: 0 / 433.9 MB, free: 3.273 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.003718/0.2659, allocations: 1.141 MB / 435.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.266, allocations: 12.03 kB / 435.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.2661, allocations: 114.7 kB / 435.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.2672, allocations: 180.4 kB / 435.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.2675, allocations: 182.4 kB / 435.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.2675, allocations: 54.36 kB / 435.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.2676, allocations: 68.38 kB / 435.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.269, allocations: 0.7075 MB / 436.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.269, allocations: 0 / 436.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.2691, allocations: 28 kB / 436.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.2691, allocations: 16 kB / 436.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.2704, allocations: 0.5985 MB / 437 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00379/0.2742, allocations: 2.236 MB / 439.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.2756, allocations: 0.6694 MB / 439.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.2761, allocations: 249.7 kB / 440.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.2762, allocations: 16.66 kB / 440.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.2762, allocations: 47.2 kB / 440.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.615e-06/0.2762, allocations: 3.938 kB / 440.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001682/0.2779, allocations: 0.7046 MB / 440.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/0.278, allocations: 111.5 kB / 441 MB, free: 11.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.2783, allocations: 260.9 kB / 441.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.2784, allocations: 37.7 kB / 441.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.2786, allocations: 276.8 kB / 441.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.2787, allocations: 238 kB / 441.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.2789, allocations: 118.6 kB / 441.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.2791, allocations: 350.7 kB / 442.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/0.2796, allocations: 213.8 kB / 442.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.2802, allocations: 297.4 kB / 442.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.2813, allocations: 0.5107 MB / 443.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.2813, allocations: 4 kB / 443.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001299/0.2826, allocations: 0.6337 MB / 443.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.2826, allocations: 15.27 kB / 443.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2826, allocations: 0 / 443.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.2826, allocations: 4 kB / 443.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/0.2834, allocations: 159.8 kB / 444.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2834, allocations: 4 kB / 444.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.2839, allocations: 71.64 kB / 444.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.2839, allocations: 27.98 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.0002684/0.2842, allocations: 185.7 kB / 444.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.2843, allocations: 43.7 kB / 444.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.2856, allocations: 0.6068 MB / 445 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.2856, allocations: 8 kB / 445 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2857, allocations: 0 / 445 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.2857, allocations: 3.984 kB / 445 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.288, allocations: 1.268 MB / 446.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.288, allocations: 0 / 446.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/0.2886, allocations: 131.8 kB / 446.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.2886, allocations: 0 / 446.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.2887, allocations: 19.94 kB / 446.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.2887, allocations: 0 / 446.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2887, allocations: 4 kB / 446.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.2905, allocations: 0.9823 MB / 447.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.2906, allocations: 51.69 kB / 447.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-05/0.2907, allocations: 19.94 kB / 447.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.2911, allocations: 27.97 kB / 447.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.2912, allocations: 40.58 kB / 447.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.2912, allocations: 19.98 kB / 447.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002284/0.2914, allocations: 188.5 kB / 447.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2914, allocations: 0 / 447.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000634/0.2921, allocations: 187.5 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.002263/0.2943, allocations: 1.573 MB / 449.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.2956, allocations: 0.4974 MB / 450 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2956, allocations: 0 / 450 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005556/0.2961, allocations: 251.9 kB / 450.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.2967, allocations: 52.42 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.007205/0.3039, allocations: 4.237 MB / 454.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.3044, allocations: 0.8421 MB / 455.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003646/0.3048, allocations: 83.39 kB / 455.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.3051, allocations: 183.4 kB / 455.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3051, allocations: 0 / 455.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06484/0.3699, allocations: 9.885 MB / 465.6 MB, free: 3.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.11, allocations: 3.938 kB / 465.6 MB, free: 3.164 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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.441737763117999]