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.001476/0.001476, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001685/0.001685, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.424/1.424, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 47.8 kB / 300.2 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1094, allocations: 49.45 MB / 349.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005854/0.1153, allocations: 4.331 MB / 354 MB, free: 68 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.1182, allocations: 1.623 MB / 355.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.1187, allocations: 16 kB / 355.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.1211, allocations: 0.9476 MB / 356.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008983/0.122, allocations: 210.7 kB / 356.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.1236, allocations: 0.7622 MB / 357.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008356/0.1244, allocations: 0.6338 MB / 358.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.1255, allocations: 0.5719 MB / 358.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.1259, allocations: 267 kB / 359 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.1263, allocations: 370.5 kB / 359.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.949e-05/0.1264, allocations: 56 kB / 359.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.1269, allocations: 275.7 kB / 359.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.127, allocations: 139.5 kB / 359.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.1272, allocations: 322.4 kB / 360.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000977/0.1282, allocations: 0.95 MB / 361.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1282, allocations: 7.984 kB / 361.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1283, allocations: 0 / 361.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1283, allocations: 0 / 361.1 MB, free: 8.922 MB / 302.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.003626/0.1319, allocations: 1.264 MB / 362.4 MB, free: 7.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.132, allocations: 8.031 kB / 362.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.1321, allocations: 118.8 kB / 362.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.1335, allocations: 204 kB / 362.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1338, allocations: 239.4 kB / 363 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.1338, allocations: 62.38 kB / 363 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1339, allocations: 72.38 kB / 363.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.1353, allocations: 0.7738 MB / 363.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.1354, allocations: 3.906 kB / 363.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.1355, allocations: 32 kB / 363.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.1355, allocations: 16 kB / 363.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.137, allocations: 0.6649 MB / 364.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.1412, allocations: 3.111 MB / 367.7 MB, free: 1.992 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1669/0.3081, allocations: 2.062 MB / 369.8 MB, free: 24.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008753/0.309, allocations: 331.7 kB / 370.1 MB, free: 24.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.3091, allocations: 103.6 kB / 370.2 MB, free: 24.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3092, allocations: 42.41 kB / 370.2 MB, free: 24.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.404e-06/0.3092, allocations: 0 / 370.2 MB, free: 24.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002609/0.3118, allocations: 1.142 MB / 371.4 MB, free: 24.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3118, allocations: 112.6 kB / 371.5 MB, free: 24.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.3122, allocations: 273.3 kB / 371.7 MB, free: 24.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.3122, allocations: 40.52 kB / 371.8 MB, free: 24.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.3124, allocations: 295.1 kB / 372.1 MB, free: 23.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.3125, allocations: 246.8 kB / 372.3 MB, free: 23.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.3128, allocations: 137 kB / 372.4 MB, free: 23.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3129, allocations: 350.2 kB / 372.8 MB, free: 23.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.3134, allocations: 233.7 kB / 373 MB, free: 23.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.314, allocations: 385 kB / 373.4 MB, free: 23.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.3151, allocations: 0.6306 MB / 374 MB, free: 22.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3152, allocations: 1.812 kB / 374 MB, free: 22.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001525/0.3167, allocations: 0.8365 MB / 374.9 MB, free: 22.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3167, allocations: 10.97 kB / 374.9 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3167, allocations: 2.75 kB / 374.9 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/0.3171, allocations: 124.1 kB / 375 MB, free: 22.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.3178, allocations: 159.2 kB / 375.2 MB, free: 22.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.3204, allocations: 3.791 MB / 378.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.3209, allocations: 85.83 kB / 379 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.321, allocations: 32.16 kB / 379.1 MB, free: 18.83 MB / 302.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.0002411/0.3212, allocations: 209.2 kB / 379.3 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.876e-05/0.3213, allocations: 39.72 kB / 379.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.3229, allocations: 0.7468 MB / 380 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3229, allocations: 6.5 kB / 380.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3229, allocations: 3.812 kB / 380.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.3229, allocations: 4.078 kB / 380.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.3255, allocations: 1.498 MB / 381.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3256, allocations: 0 / 381.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.3261, allocations: 113.5 kB / 381.7 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003383/0.3265, allocations: 115.7 kB / 381.8 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.3265, allocations: 22.45 kB / 381.8 MB, free: 17.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.3287, allocations: 3.352 MB / 385.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3287, allocations: 0 / 385.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.3306, allocations: 1.123 MB / 386.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.3308, allocations: 128.3 kB / 386.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.3308, allocations: 16 kB / 386.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.3312, allocations: 27.2 kB / 386.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.3314, allocations: 52.42 kB / 386.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.3314, allocations: 19.16 kB / 386.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.3317, allocations: 195.2 kB / 386.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3317, allocations: 4.062 kB / 386.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009695/0.3326, allocations: 214.6 kB / 386.9 MB, free: 13.38 MB / 302.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.002198/0.3348, allocations: 1.712 MB / 388.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002061/0.3369, allocations: 0.9024 MB / 389.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3369, allocations: 1.469 kB / 389.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007567/0.3377, allocations: 0.5703 MB / 390.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.3382, allocations: 36.56 kB / 390.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/0.3449, allocations: 5.071 MB / 395.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3452, allocations: 0.8616 MB / 396.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004012/0.3456, allocations: 80.67 kB / 396.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.3459, allocations: 207.8 kB / 396.4 MB, free: 7.254 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3459, allocations: 0 / 396.4 MB, free: 7.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/0.3851, allocations: 10.41 MB / 406.8 MB, free: 100 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/0.3855, allocations: 249.7 kB / 407 MB, free: 15.85 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/2.527, allocations: 4 kB / 407 MB, free: 15.84 MB / 318.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