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.001304/0.001304, allocations: 114.2 kB / 17.06 MB, free: 6.016 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.001227/0.001227, allocations: 189.4 kB / 18 MB, free: 5.098 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.407/1.407, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 44.03 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2469, allocations: 49.45 MB / 400.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005721/0.2527, allocations: 4.331 MB / 404.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.2558, allocations: 1.643 MB / 406.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.2561, allocations: 12 kB / 406.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.2585, allocations: 1.019 MB / 407.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006133/0.2592, allocations: 250.2 kB / 407.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.2608, allocations: 0.7972 MB / 408.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007482/0.2616, allocations: 0.6413 MB / 408.9 MB, free: 120 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008504/0.2624, allocations: 0.5052 MB / 409.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.2628, allocations: 274.9 kB / 409.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.2633, allocations: 366.5 kB / 410.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.846e-05/0.2634, allocations: 56 kB / 410.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.264, allocations: 267.8 kB / 410.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.2641, allocations: 139.5 kB / 410.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.2644, allocations: 330.4 kB / 410.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.2656, allocations: 0.9602 MB / 411.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2656, allocations: 0 / 411.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.609e-06/0.2656, allocations: 0 / 411.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.2656, allocations: 3.938 kB / 411.8 MB, free: 13.23 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.00364/0.2693, allocations: 1.271 MB / 413.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.2693, allocations: 15.83 kB / 413.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.2695, allocations: 118.8 kB / 413.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.2709, allocations: 212.3 kB / 413.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.2712, allocations: 243.5 kB / 413.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.2712, allocations: 54.38 kB / 413.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.2713, allocations: 84.31 kB / 413.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.2728, allocations: 0.7661 MB / 414.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.2728, allocations: 7.922 kB / 414.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/0.2729, allocations: 32 kB / 414.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.2729, allocations: 16 kB / 414.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.2743, allocations: 0.6649 MB / 415.3 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004364/0.2787, allocations: 3.092 MB / 418.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.2812, allocations: 2.071 MB / 420.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006795/0.2819, allocations: 339.9 kB / 420.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.282, allocations: 97.69 kB / 420.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.2821, allocations: 43.22 kB / 420.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/0.2821, allocations: 0 / 420.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002766/0.2849, allocations: 1.146 MB / 422.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/0.285, allocations: 115.4 kB / 422.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.2853, allocations: 274.5 kB / 422.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.2854, allocations: 33.7 kB / 422.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.2856, allocations: 308.3 kB / 422.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.2858, allocations: 265.8 kB / 423 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.2861, allocations: 138.6 kB / 423.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2862, allocations: 350.7 kB / 423.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.2868, allocations: 225.9 kB / 423.7 MB, free: 500 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.2875, allocations: 386.3 kB / 424.1 MB, free: 56 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.2887, allocations: 0.6337 MB / 424.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2887, allocations: 4 kB / 424.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001673/0.2904, allocations: 0.8307 MB / 425.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.2904, allocations: 4 kB / 425.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2904, allocations: 4 kB / 425.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/0.2909, allocations: 125.8 kB / 425.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.2915, allocations: 159.8 kB / 425.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.2952, allocations: 3.797 MB / 429.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.2957, allocations: 91.38 kB / 429.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.2958, allocations: 24 kB / 429.8 MB, free: 10.04 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.0002908/0.2961, allocations: 205.8 kB / 430 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.2962, allocations: 43.72 kB / 430 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.2978, allocations: 0.7413 MB / 430.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.2978, allocations: 8 kB / 430.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2979, allocations: 4 kB / 430.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.2979, allocations: 11.92 kB / 430.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.3005, allocations: 1.489 MB / 432.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3005, allocations: 3.938 kB / 432.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.301, allocations: 111.9 kB / 432.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003034/0.3013, allocations: 118 kB / 432.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.3013, allocations: 12 kB / 432.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.3044, allocations: 3.353 MB / 435.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3045, allocations: 3.938 kB / 435.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.3066, allocations: 1.125 MB / 437 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.3068, allocations: 116.8 kB / 437.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.3068, allocations: 19.98 kB / 437.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.3072, allocations: 32.05 kB / 437.2 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.3074, allocations: 52.58 kB / 437.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.3074, allocations: 20 kB / 437.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002097/0.3076, allocations: 190 kB / 437.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3076, allocations: 0 / 437.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007975/0.3085, allocations: 223.6 kB / 437.6 MB, free: 1.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 (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.002556/0.311, allocations: 1.724 MB / 439.4 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.3128, allocations: 0.8874 MB / 440.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3128, allocations: 0 / 440.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008646/0.3137, allocations: 0.5564 MB / 440.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.3141, allocations: 38.25 kB / 440.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007479/0.3216, allocations: 4.79 MB / 445.6 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.3222, allocations: 0.8655 MB / 446.5 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000354/0.3225, allocations: 84.34 kB / 446.6 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.3228, allocations: 195.4 kB / 446.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3228, allocations: 4 kB / 446.8 MB, free: 8.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/0.3652, allocations: 10.7 MB / 457.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.17, allocations: 10.06 kB / 457.5 MB, free: 13.81 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