Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001223/0.001223, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 55.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2546, allocations: 50.55 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005261/0.2599, allocations: 4.343 MB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.2627, allocations: 1.697 MB / 414.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/0.263, allocations: 16 kB / 414.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.2653, allocations: 1.022 MB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006287/0.266, allocations: 254.1 kB / 416.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.2675, allocations: 0.7629 MB / 416.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006141/0.2681, allocations: 0.6299 MB / 417.5 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007462/0.2689, allocations: 0.5108 MB / 418 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.2692, allocations: 274.9 kB / 418.3 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.2696, allocations: 358.5 kB / 418.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.2697, allocations: 56 kB / 418.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.2702, allocations: 299.8 kB / 419 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2704, allocations: 139.4 kB / 419.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.2706, allocations: 326.4 kB / 419.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009664/0.2716, allocations: 0.9772 MB / 420.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2716, allocations: 0 / 420.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2716, allocations: 0 / 420.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.2716, allocations: 0 / 420.4 MB, free: 5.855 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.003533/0.2752, allocations: 1.268 MB / 421.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2752, allocations: 8.031 kB / 421.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.2754, allocations: 118.8 kB / 421.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.2768, allocations: 207.9 kB / 422 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.277, allocations: 239.5 kB / 422.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.2771, allocations: 58.38 kB / 422.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.2772, allocations: 76.36 kB / 422.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.2785, allocations: 0.7739 MB / 423.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.2785, allocations: 3.984 kB / 423.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.2786, allocations: 28 kB / 423.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.2786, allocations: 20 kB / 423.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.2799, allocations: 0.661 MB / 423.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.284, allocations: 3.245 MB / 427.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.2863, allocations: 2.079 MB / 429.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/0.287, allocations: 323.5 kB / 429.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.2871, allocations: 182.8 kB / 429.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2872, allocations: 43.22 kB / 429.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.565e-06/0.2872, allocations: 0 / 429.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002495/0.2897, allocations: 1.134 MB / 430.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.2898, allocations: 115.5 kB / 430.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.2901, allocations: 270.5 kB / 431.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.2901, allocations: 41.73 kB / 431.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.2903, allocations: 299.6 kB / 431.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.2905, allocations: 244.4 kB / 431.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.2907, allocations: 138.5 kB / 431.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2908, allocations: 350.7 kB / 432.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.2913, allocations: 229.9 kB / 432.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.2919, allocations: 382.2 kB / 432.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.293, allocations: 0.6337 MB / 433.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.293, allocations: 3.938 kB / 433.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001635/0.2946, allocations: 0.8268 MB / 434.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2947, allocations: 12 kB / 434.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2947, allocations: 4 kB / 434.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004156/0.2951, allocations: 125.6 kB / 434.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.2958, allocations: 171.7 kB / 434.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/0.2991, allocations: 3.778 MB / 438.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.2996, allocations: 87.17 kB / 438.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.2997, allocations: 31.98 kB / 438.5 MB, free: 2.445 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.0002763/0.2999, allocations: 205.6 kB / 438.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-05/0.3, allocations: 39.53 kB / 438.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.3016, allocations: 0.7413 MB / 439.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3016, allocations: 12 kB / 439.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3016, allocations: 4 kB / 439.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3016, allocations: 7.922 kB / 439.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.304, allocations: 1.477 MB / 441 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.304, allocations: 0 / 441 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.3045, allocations: 115.8 kB / 441.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/0.3048, allocations: 109.6 kB / 441.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.3049, allocations: 20 kB / 441.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/0.3076, allocations: 3.361 MB / 444.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3076, allocations: 0 / 444.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.3095, allocations: 1.117 MB / 445.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3096, allocations: 128.5 kB / 445.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.3097, allocations: 12 kB / 445.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.3101, allocations: 27.97 kB / 445.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3102, allocations: 52.58 kB / 445.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.3102, allocations: 20 kB / 446 MB, free: 10.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.3104, allocations: 194 kB / 446.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3104, allocations: 0 / 446.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007879/0.3112, allocations: 219.4 kB / 446.4 MB, free: 10.19 MB / 366.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.002287/0.3135, allocations: 1.719 MB / 448.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.3151, allocations: 0.8797 MB / 449 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3151, allocations: 4.75 kB / 449 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007727/0.3159, allocations: 0.5595 MB / 449.5 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.3164, allocations: 42.8 kB / 449.6 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006733/0.3231, allocations: 4.759 MB / 454.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.3236, allocations: 0.8656 MB / 455.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003279/0.3239, allocations: 76.36 kB / 455.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.3242, allocations: 199.3 kB / 455.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3242, allocations: 0 / 455.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.365/1.69, allocations: 10.93 MB / 466.4 MB, free: 6.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.81, allocations: 11.78 kB / 466.4 MB, free: 6.027 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches