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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001974/0.001974, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 215.5 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 71.89 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2627, allocations: 53.41 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006305/0.269, allocations: 4.378 MB / 435.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.2725, allocations: 1.744 MB / 437.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.2728, allocations: 12 kB / 437.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.2753, allocations: 1.03 MB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007276/0.2761, allocations: 254.2 kB / 438.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.2777, allocations: 0.7747 MB / 439.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008184/0.2785, allocations: 0.6338 MB / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007698/0.2793, allocations: 474.4 kB / 440.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.2797, allocations: 286.9 kB / 440.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004634/0.2802, allocations: 354.5 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.14e-05/0.2803, allocations: 56 kB / 441.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006091/0.2809, allocations: 291.7 kB / 441.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.281, allocations: 143.5 kB / 441.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.2813, allocations: 318.4 kB / 441.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2826, allocations: 0.9877 MB / 442.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.2826, allocations: 4 kB / 442.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2826, allocations: 0 / 442.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.2826, allocations: 4 kB / 442.9 MB, free: 10.92 MB / 350.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.003675/0.2863, allocations: 1.203 MB / 444.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2863, allocations: 15.97 kB / 444.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.2865, allocations: 126.7 kB / 444.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.2878, allocations: 200.4 kB / 444.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.288, allocations: 176.8 kB / 444.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.2881, allocations: 58.38 kB / 444.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.2882, allocations: 76.36 kB / 444.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.2896, allocations: 0.77 MB / 445.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.2896, allocations: 3.984 kB / 445.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.2897, allocations: 36 kB / 445.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.2897, allocations: 19.98 kB / 445.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.291, allocations: 0.6571 MB / 446.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004451/0.2955, allocations: 2.884 MB / 449.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.2973, allocations: 0.8228 MB / 449.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006355/0.298, allocations: 291.4 kB / 450.2 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.2981, allocations: 40.59 kB / 450.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.2982, allocations: 39.22 kB / 450.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.036e-06/0.2982, allocations: 0 / 450.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002733/0.3009, allocations: 0.9832 MB / 451.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/0.301, allocations: 115.7 kB / 451.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.3013, allocations: 273.8 kB / 451.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.3014, allocations: 41.64 kB / 451.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.3016, allocations: 300.4 kB / 452 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.3019, allocations: 261.8 kB / 452.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.3021, allocations: 134.6 kB / 452.4 MB, free: 1.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3023, allocations: 358.7 kB / 452.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.3028, allocations: 229.9 kB / 452.9 MB, free: 488 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.3034, allocations: 386.2 kB / 453.3 MB, free: 48 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.3046, allocations: 0.6337 MB / 454 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3046, allocations: 0 / 454 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001754/0.3064, allocations: 0.8346 MB / 454.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.3064, allocations: 10.64 kB / 454.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3064, allocations: 7.938 kB / 454.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004439/0.3068, allocations: 129.7 kB / 454.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.3075, allocations: 151.8 kB / 455.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003868/0.3114, allocations: 3.586 MB / 458.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/0.3119, allocations: 95.38 kB / 458.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.312, allocations: 24 kB / 458.8 MB, free: 10.29 MB / 366.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.0003022/0.3123, allocations: 197.7 kB / 459 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.3124, allocations: 51.7 kB / 459 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.314, allocations: 0.7336 MB / 459.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.314, allocations: 8 kB / 459.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.314, allocations: 8 kB / 459.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.314, allocations: 7.922 kB / 459.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.3166, allocations: 1.461 MB / 461.3 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3166, allocations: 0 / 461.3 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/0.3171, allocations: 115.8 kB / 461.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003008/0.3174, allocations: 105.7 kB / 461.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.3175, allocations: 15.98 kB / 461.5 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002964/0.3204, allocations: 3.146 MB / 464.6 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3204, allocations: 0 / 464.6 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.3224, allocations: 1.125 MB / 465.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.3225, allocations: 47.67 kB / 465.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.3226, allocations: 16.02 kB / 465.8 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.323, allocations: 35.97 kB / 465.9 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.3231, allocations: 48.55 kB / 465.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.3231, allocations: 27.98 kB / 465.9 MB, free: 2.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.3234, allocations: 189.2 kB / 466.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3234, allocations: 0 / 466.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008701/0.3242, allocations: 219.6 kB / 466.3 MB, free: 2.406 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.002538/0.3268, allocations: 1.72 MB / 468 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.3285, allocations: 0.8445 MB / 468.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3285, allocations: 4 kB / 468.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008263/0.3293, allocations: 0.5446 MB / 469.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.3298, allocations: 39.81 kB / 469.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007739/0.3376, allocations: 4.745 MB / 474.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.3381, allocations: 0.8616 MB / 475.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003265/0.3385, allocations: 84.34 kB / 475.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.3388, allocations: 207.3 kB / 475.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3388, allocations: 0 / 475.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07132/0.4101, allocations: 11.45 MB / 486.8 MB, free: 13.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.65, allocations: 3.438 kB / 486.8 MB, free: 13.72 MB / 398.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --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) [Timeout 52.5] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.989479653071612]