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.001085/0.001085, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 55.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2268, allocations: 50.54 MB / 408.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00516/0.232, allocations: 4.339 MB / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.2348, allocations: 1.705 MB / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.2351, allocations: 12 kB / 414.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.2373, allocations: 1.03 MB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005428/0.2379, allocations: 250.2 kB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.2393, allocations: 0.759 MB / 416.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006296/0.24, allocations: 0.6377 MB / 417.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007495/0.2407, allocations: 0.5108 MB / 418 MB, free: 8.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.2411, allocations: 274.9 kB / 418.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.2415, allocations: 354.5 kB / 418.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.166e-05/0.2416, allocations: 56 kB / 418.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005265/0.2421, allocations: 295.7 kB / 419 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.831e-05/0.2422, allocations: 139.5 kB / 419.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.2425, allocations: 326.4 kB / 419.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000943/0.2435, allocations: 0.9772 MB / 420.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2435, allocations: 0 / 420.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2435, allocations: 4 kB / 420.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.056e-06/0.2435, allocations: 0 / 420.4 MB, free: 5.871 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.003543/0.247, allocations: 1.264 MB / 421.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2471, allocations: 12.03 kB / 421.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.2472, allocations: 122.7 kB / 421.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.2487, allocations: 207.9 kB / 422 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.2489, allocations: 239.5 kB / 422.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.2489, allocations: 50.38 kB / 422.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.249, allocations: 80.36 kB / 422.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.2503, allocations: 0.77 MB / 423.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.2503, allocations: 3.984 kB / 423.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.467e-05/0.2504, allocations: 32 kB / 423.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.2504, allocations: 20 kB / 423.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.2517, allocations: 0.6648 MB / 423.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004024/0.2557, allocations: 3.246 MB / 427.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.2579, allocations: 2.075 MB / 429.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.2585, allocations: 323.5 kB / 429.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.2587, allocations: 182.8 kB / 429.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.2587, allocations: 47.44 kB / 429.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.114e-06/0.2587, allocations: 0 / 429.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002432/0.2612, allocations: 1.13 MB / 430.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.2612, allocations: 107.5 kB / 430.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.2615, allocations: 274.7 kB / 431.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.2616, allocations: 37.7 kB / 431.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.2618, allocations: 303.3 kB / 431.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.2619, allocations: 252.4 kB / 431.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.2621, allocations: 130.6 kB / 431.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2623, allocations: 358.7 kB / 432.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.2627, allocations: 225.9 kB / 432.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.2633, allocations: 382.3 kB / 432.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.2644, allocations: 0.6376 MB / 433.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2644, allocations: 0 / 433.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001545/0.2659, allocations: 0.8266 MB / 434.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.266, allocations: 8 kB / 434.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.266, allocations: 4 kB / 434.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003805/0.2664, allocations: 129.8 kB / 434.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.267, allocations: 155.8 kB / 434.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.2702, allocations: 3.798 MB / 438.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.2707, allocations: 79.17 kB / 438.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.2707, allocations: 35.98 kB / 438.5 MB, free: 2.461 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.0002466/0.271, allocations: 205.7 kB / 438.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.2711, allocations: 39.53 kB / 438.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.2725, allocations: 0.7413 MB / 439.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.2725, allocations: 8 kB / 439.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2726, allocations: 0 / 439.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.2726, allocations: 15.92 kB / 439.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.2749, allocations: 1.481 MB / 441 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2749, allocations: 4 kB / 441 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.2754, allocations: 107.9 kB / 441.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.2757, allocations: 109.6 kB / 441.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.2757, allocations: 15.98 kB / 441.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.2784, allocations: 3.357 MB / 444.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2784, allocations: 0 / 444.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.2802, allocations: 1.117 MB / 445.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.2803, allocations: 124.5 kB / 445.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.2804, allocations: 16 kB / 445.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.2808, allocations: 32.03 kB / 445.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.2809, allocations: 56.52 kB / 445.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.2809, allocations: 16 kB / 446 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.2811, allocations: 198 kB / 446.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2811, allocations: 3.938 kB / 446.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000787/0.2819, allocations: 215.4 kB / 446.4 MB, free: 10.21 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.002201/0.2841, allocations: 1.712 MB / 448.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.2856, allocations: 0.8796 MB / 448.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2856, allocations: 0 / 448.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007342/0.2864, allocations: 0.5642 MB / 449.5 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.2869, allocations: 32.56 kB / 449.5 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006756/0.2936, allocations: 4.763 MB / 454.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.2941, allocations: 0.8616 MB / 455.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003281/0.2945, allocations: 80.34 kB / 455.2 MB, free: 1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.2947, allocations: 203.4 kB / 455.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2948, allocations: 0 / 455.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.3327, allocations: 10.92 MB / 466.4 MB, free: 6.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.67, allocations: 11.55 kB / 466.4 MB, free: 6.055 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