Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 108.6 kB / 17.06 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 199.9 kB / 18 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 51.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2805, allocations: 49.45 MB / 400.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005883/0.2864, allocations: 4.333 MB / 404.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.2892, allocations: 1.635 MB / 406.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.2897, allocations: 12 kB / 406.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.2922, allocations: 1.018 MB / 407.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008272/0.2931, allocations: 258.1 kB / 407.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.2947, allocations: 0.7863 MB / 408.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.2958, allocations: 0.6452 MB / 408.9 MB, free: 116 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009476/0.2968, allocations: 0.5147 MB / 409.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004638/0.2973, allocations: 270.9 kB / 409.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004649/0.2977, allocations: 362.5 kB / 410.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.2978, allocations: 56 kB / 410.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006671/0.2985, allocations: 267.8 kB / 410.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.2986, allocations: 139.5 kB / 410.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.2989, allocations: 334.4 kB / 410.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.3, allocations: 0.9539 MB / 411.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3, allocations: 0 / 411.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3001, allocations: 4 kB / 411.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.3001, allocations: 3.938 kB / 411.8 MB, free: 13.22 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003524/0.3036, allocations: 1.253 MB / 413.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.3037, allocations: 12.03 kB / 413.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.3038, allocations: 122.8 kB / 413.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.3051, allocations: 211.9 kB / 413.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.3054, allocations: 239.2 kB / 413.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.3054, allocations: 54.38 kB / 413.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.3055, allocations: 76.31 kB / 413.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3068, allocations: 0.7778 MB / 414.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.3068, allocations: 0 / 414.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.3069, allocations: 32 kB / 414.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.3069, allocations: 20 kB / 414.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.3082, allocations: 0.6571 MB / 415.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.312, allocations: 3.091 MB / 418.3 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.3142, allocations: 2.072 MB / 420.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006044/0.3148, allocations: 335.6 kB / 420.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.3149, allocations: 101.7 kB / 420.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.315, allocations: 43.22 kB / 420.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.244e-06/0.315, allocations: 0 / 420.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002526/0.3175, allocations: 1.137 MB / 422 MB, free: 2.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.3176, allocations: 115.5 kB / 422.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.3178, allocations: 274.5 kB / 422.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.3179, allocations: 37.7 kB / 422.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.318, allocations: 295.4 kB / 422.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.3182, allocations: 248.4 kB / 423 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.3184, allocations: 138.6 kB / 423.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3185, allocations: 354.7 kB / 423.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.319, allocations: 225.9 kB / 423.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.3196, allocations: 390.2 kB / 424 MB, free: 108 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.3207, allocations: 0.63 MB / 424.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3207, allocations: 0 / 424.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00153/0.3222, allocations: 0.8342 MB / 425.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3222, allocations: 8 kB / 425.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3223, allocations: 4.25 kB / 425.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/0.3226, allocations: 129.6 kB / 425.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.3233, allocations: 155.8 kB / 425.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.3263, allocations: 3.793 MB / 429.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.3268, allocations: 83.2 kB / 429.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.3268, allocations: 35.98 kB / 429.7 MB, free: 10.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002874/0.3271, allocations: 201.7 kB / 429.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/0.3272, allocations: 47.38 kB / 429.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.3287, allocations: 0.7415 MB / 430.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3287, allocations: 8 kB / 430.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3287, allocations: 4 kB / 430.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3287, allocations: 7.922 kB / 430.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.3311, allocations: 1.493 MB / 432.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3311, allocations: 0 / 432.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.3316, allocations: 119.8 kB / 432.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/0.3319, allocations: 105.6 kB / 432.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.3319, allocations: 16 kB / 432.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/0.3344, allocations: 3.357 MB / 435.8 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3344, allocations: 0 / 435.8 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.3363, allocations: 1.117 MB / 436.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3364, allocations: 124.5 kB / 437 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/0.3365, allocations: 12 kB / 437 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.3369, allocations: 40.03 kB / 437.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.337, allocations: 48.58 kB / 437.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.3371, allocations: 16 kB / 437.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.3373, allocations: 198 kB / 437.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3373, allocations: 0 / 437.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000758/0.338, allocations: 215.4 kB / 437.5 MB, free: 1.836 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00224/0.3403, allocations: 1.718 MB / 439.3 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.3419, allocations: 0.8759 MB / 440.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3419, allocations: 4 kB / 440.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007725/0.3427, allocations: 0.5681 MB / 440.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.3432, allocations: 36.56 kB / 440.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007217/0.3504, allocations: 4.765 MB / 445.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.351, allocations: 0.8694 MB / 446.4 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003333/0.3513, allocations: 76.36 kB / 446.5 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.3516, allocations: 203.4 kB / 446.7 MB, free: 8.418 MB / 366.1 MB Notification: Performance of SimCode: time 2.455e-06/0.3517, allocations: 4 kB / 446.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4071/0.7588, allocations: 10.88 MB / 457.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.89, allocations: 3.438 kB / 457.5 MB, free: 13.72 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches