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.001498/0.001498, allocations: 101.6 kB / 17.72 MB, free: 5.359 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.001759/0.00176, allocations: 188.1 kB / 18.66 MB, free: 4.434 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.453/1.453, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001309/0.001309, allocations: 47.94 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08448/0.0858, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005364/0.09121, allocations: 4.286 MB / 378.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1729/0.2642, allocations: 1.676 MB / 380.6 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.2645, allocations: 11.97 kB / 380.6 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.2666, allocations: 1.026 MB / 381.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.2671, allocations: 248.4 kB / 381.9 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.2684, allocations: 0.7924 MB / 382.7 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000634/0.269, allocations: 0.64 MB / 383.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.2698, allocations: 0.515 MB / 383.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.2702, allocations: 276.3 kB / 384.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004002/0.2706, allocations: 355.8 kB / 384.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.638e-05/0.2707, allocations: 55.84 kB / 384.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005688/0.2712, allocations: 274.3 kB / 384.8 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.58e-05/0.2713, allocations: 146.1 kB / 384.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.2716, allocations: 328.1 kB / 385.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009992/0.2726, allocations: 0.9539 MB / 386.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2726, allocations: 0 / 386.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2726, allocations: 0 / 386.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.2726, allocations: 0 / 386.2 MB, free: 7.848 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.003277/0.2759, allocations: 1.257 MB / 387.5 MB, free: 7.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2759, allocations: 9.406 kB / 387.5 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.2761, allocations: 119.8 kB / 387.6 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.2774, allocations: 204.7 kB / 387.8 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.2776, allocations: 244.1 kB / 388 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.2776, allocations: 55.38 kB / 388.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.2778, allocations: 78.3 kB / 388.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.2792, allocations: 0.7679 MB / 388.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.2792, allocations: 1.641 kB / 388.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.21e-05/0.2793, allocations: 29.84 kB / 388.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.2793, allocations: 17.78 kB / 389 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.2807, allocations: 0.6739 MB / 389.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003666/0.2844, allocations: 3.084 MB / 392.7 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.2863, allocations: 2.081 MB / 394.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006021/0.2869, allocations: 333.9 kB / 395.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.424e-05/0.287, allocations: 96.41 kB / 395.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.287, allocations: 43.28 kB / 395.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.287, allocations: 1.094 kB / 395.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002443/0.2895, allocations: 1.143 MB / 396.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.2896, allocations: 112.4 kB / 396.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.2899, allocations: 269.9 kB / 396.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.2899, allocations: 40.42 kB / 396.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2901, allocations: 298.6 kB / 397.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.2902, allocations: 245.2 kB / 397.3 MB, free: 424 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.2904, allocations: 135.9 kB / 397.5 MB, free: 348 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.2905, allocations: 352.4 kB / 397.8 MB, free: 8 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006423/0.2911, allocations: 245.9 kB / 398.1 MB, free: 0 / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.2917, allocations: 389.9 kB / 398.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.2928, allocations: 0.6369 MB / 399.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2929, allocations: 2 kB / 399.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001542/0.2944, allocations: 0.8335 MB / 399.9 MB, free: 15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2944, allocations: 7.188 kB / 399.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2945, allocations: 8.969 kB / 399.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003879/0.2949, allocations: 117.7 kB / 400.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.2955, allocations: 165.7 kB / 400.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.2985, allocations: 3.792 MB / 404 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.2991, allocations: 85.8 kB / 404.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.2992, allocations: 32.75 kB / 404.1 MB, free: 11.39 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.0002963/0.2995, allocations: 199.7 kB / 404.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2996, allocations: 39.97 kB / 404.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.3012, allocations: 0.7407 MB / 405.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.3013, allocations: 6.719 kB / 405.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3013, allocations: 7.906 kB / 405.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.3013, allocations: 6.438 kB / 405.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.3037, allocations: 1.494 MB / 406.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.3037, allocations: 4.875 kB / 406.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.3042, allocations: 109.8 kB / 406.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002949/0.3045, allocations: 108.8 kB / 406.8 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.3046, allocations: 14.88 kB / 406.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.3069, allocations: 3.345 MB / 410.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3069, allocations: 1.406 kB / 410.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.3089, allocations: 1.121 MB / 411.3 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.309, allocations: 126.4 kB / 411.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.3091, allocations: 23.02 kB / 411.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.3095, allocations: 25.8 kB / 411.5 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.3096, allocations: 61.69 kB / 411.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.3097, allocations: 16.94 kB / 411.6 MB, free: 6.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.3099, allocations: 197 kB / 411.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3099, allocations: 0 / 411.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008107/0.3107, allocations: 207.1 kB / 412 MB, free: 5.883 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.002222/0.3129, allocations: 1.725 MB / 413.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.3146, allocations: 0.8866 MB / 414.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3146, allocations: 0 / 414.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007776/0.3154, allocations: 0.5641 MB / 415.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.3159, allocations: 40.25 kB / 415.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00646/0.3224, allocations: 4.758 MB / 419.9 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.3228, allocations: 0.8642 MB / 420.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00032/0.3231, allocations: 81.69 kB / 420.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.3234, allocations: 197.7 kB / 421.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3234, allocations: 4 kB / 421.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.37/2.693, allocations: 10.87 MB / 431.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/16.59, allocations: 7.922 kB / 431.9 MB, free: 4.445 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