Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_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.001322/0.001322, allocations: 109.3 kB / 17.73 MB, free: 5.32 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: 192.2 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 55.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.09043, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00561/0.09608, allocations: 4.286 MB / 378.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1957/0.2918, allocations: 1.667 MB / 380.6 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.2924, allocations: 12.38 kB / 380.6 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002434/0.2949, allocations: 1.022 MB / 381.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009117/0.2958, allocations: 250.8 kB / 381.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.2975, allocations: 0.7907 MB / 382.7 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009902/0.2985, allocations: 0.6385 MB / 383.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009017/0.2994, allocations: 0.5151 MB / 383.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.2999, allocations: 274.4 kB / 384.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004908/0.3004, allocations: 362.6 kB / 384.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.703e-05/0.3005, allocations: 55.84 kB / 384.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007701/0.3013, allocations: 271.6 kB / 384.8 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3014, allocations: 141.6 kB / 384.9 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003194/0.3018, allocations: 330.4 kB / 385.2 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.3032, allocations: 0.9574 MB / 386.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3032, allocations: 0 / 386.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3033, allocations: 1.469 kB / 386.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3033, allocations: 0 / 386.2 MB, free: 7.863 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003932/0.3072, allocations: 1.27 MB / 387.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.3073, allocations: 10.42 kB / 387.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.3074, allocations: 119.5 kB / 387.6 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.3089, allocations: 214.4 kB / 387.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.3091, allocations: 243.1 kB / 388 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.3092, allocations: 55.69 kB / 388.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.3093, allocations: 78.06 kB / 388.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3107, allocations: 0.7719 MB / 388.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.3108, allocations: 4.922 kB / 388.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.604e-05/0.3108, allocations: 31.55 kB / 389 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.3109, allocations: 17.97 kB / 389 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.3125, allocations: 0.6737 MB / 389.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003662/0.3161, allocations: 3.091 MB / 392.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.3181, allocations: 2.073 MB / 394.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00068/0.3188, allocations: 330.2 kB / 395.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.513e-05/0.3189, allocations: 100.5 kB / 395.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.319, allocations: 40.22 kB / 395.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.825e-06/0.319, allocations: 3.938 kB / 395.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002604/0.3216, allocations: 1.142 MB / 396.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3217, allocations: 110.1 kB / 396.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.322, allocations: 274.8 kB / 396.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.322, allocations: 36.98 kB / 396.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3222, allocations: 309.5 kB / 397.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.3223, allocations: 258.9 kB / 397.4 MB, free: 388 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.3225, allocations: 136.4 kB / 397.5 MB, free: 312 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3226, allocations: 352.6 kB / 397.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.3232, allocations: 231.4 kB / 398.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/0.3239, allocations: 382.3 kB / 398.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.3251, allocations: 0.6372 MB / 399.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3251, allocations: 5.188 kB / 399.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001658/0.3268, allocations: 0.8345 MB / 400 MB, free: 14.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3268, allocations: 7.625 kB / 400 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3268, allocations: 10 kB / 400 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004235/0.3272, allocations: 125 kB / 400.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.3279, allocations: 162.2 kB / 400.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.3317, allocations: 3.789 MB / 404 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/0.3323, allocations: 93.7 kB / 404.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.3324, allocations: 29.44 kB / 404.2 MB, free: 11.29 MB / 334.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.0003075/0.3327, allocations: 199.2 kB / 404.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3328, allocations: 44.72 kB / 404.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.3345, allocations: 0.7399 MB / 405.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.3345, allocations: 12.34 kB / 405.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3346, allocations: 3.938 kB / 405.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.3346, allocations: 2.625 kB / 405.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.3372, allocations: 1.493 MB / 406.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.3372, allocations: 3.812 kB / 406.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.3377, allocations: 110.8 kB / 406.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/0.338, allocations: 116.6 kB / 406.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.3381, allocations: 16.44 kB / 406.9 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/0.3412, allocations: 3.353 MB / 410.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3412, allocations: 1.156 kB / 410.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.3433, allocations: 1.122 MB / 411.4 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.3435, allocations: 130.8 kB / 411.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.3435, allocations: 15.48 kB / 411.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.3439, allocations: 28.61 kB / 411.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.3441, allocations: 57.3 kB / 411.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.3441, allocations: 18.22 kB / 411.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.3443, allocations: 192.1 kB / 411.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3443, allocations: 0 / 411.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008575/0.3452, allocations: 219.9 kB / 412 MB, free: 5.742 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 (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.002621/0.3478, allocations: 1.715 MB / 413.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.3499, allocations: 0.8865 MB / 414.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3499, allocations: 1.219 kB / 414.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.3508, allocations: 0.565 MB / 415.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/0.3514, allocations: 41.2 kB / 415.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007405/0.3588, allocations: 4.786 MB / 420 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/0.3595, allocations: 0.8624 MB / 420.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003665/0.3598, allocations: 83.38 kB / 421 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.3602, allocations: 203.2 kB / 421.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3602, allocations: 0 / 421.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.123/1.483, allocations: 10.68 MB / 431.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.64, allocations: 8.062 kB / 431.8 MB, free: 4.434 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_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/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches