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.001362/0.001362, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001455/0.001455, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.41/1.41, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.001834/0.001834, allocations: 67.88 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09482, allocations: 53.32 MB / 426.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005626/0.1004, allocations: 4.351 MB / 431 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1806/0.281, allocations: 1.736 MB / 432.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.2813, allocations: 12.34 kB / 432.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.2834, allocations: 1.025 MB / 433.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.2839, allocations: 260.8 kB / 434.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.2852, allocations: 0.7653 MB / 434.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.2857, allocations: 0.6337 MB / 435.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.2863, allocations: 398.7 kB / 435.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.2866, allocations: 284.1 kB / 436.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.2869, allocations: 358.5 kB / 436.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.732e-05/0.287, allocations: 56.06 kB / 436.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/0.2875, allocations: 288.7 kB / 436.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.2876, allocations: 141.3 kB / 436.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.2878, allocations: 330 kB / 437.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.289, allocations: 0.9804 MB / 438.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.289, allocations: 1.375 kB / 438.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.289, allocations: 0 / 438.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.2891, allocations: 3.938 kB / 438.2 MB, free: 6.457 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.003575/0.2926, allocations: 1.29 MB / 439.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2927, allocations: 10.11 kB / 439.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.2928, allocations: 124.3 kB / 439.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.2941, allocations: 197.2 kB / 439.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.2943, allocations: 235.8 kB / 440.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.2943, allocations: 56.38 kB / 440.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.2944, allocations: 72.94 kB / 440.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.2957, allocations: 0.7752 MB / 441 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.2957, allocations: 0.8438 kB / 441 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.797e-05/0.2958, allocations: 31.66 kB / 441 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.2958, allocations: 17.97 kB / 441 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.297, allocations: 0.6633 MB / 441.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/0.3009, allocations: 3.267 MB / 445 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.3028, allocations: 2.014 MB / 447 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.3033, allocations: 295.3 kB / 447.3 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.3034, allocations: 192.9 kB / 447.5 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.3035, allocations: 39.19 kB / 447.5 MB, free: 88 kB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.595e-06/0.3035, allocations: 2.625 kB / 447.5 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002547/0.306, allocations: 1.141 MB / 448.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.3061, allocations: 110.2 kB / 448.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.3064, allocations: 276.7 kB / 449 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/0.3065, allocations: 40.36 kB / 449.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.3067, allocations: 295.7 kB / 449.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.3069, allocations: 259.8 kB / 449.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.3071, allocations: 141.7 kB / 449.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3073, allocations: 353.3 kB / 450.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.3078, allocations: 228 kB / 450.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.3084, allocations: 390.3 kB / 450.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.3095, allocations: 0.6358 MB / 451.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3095, allocations: 2.156 kB / 451.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001601/0.3111, allocations: 0.8306 MB / 452.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3111, allocations: 7.516 kB / 452.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3111, allocations: 4.25 kB / 452.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/0.3115, allocations: 129.4 kB / 452.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.3121, allocations: 155.8 kB / 452.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00367/0.3158, allocations: 3.811 MB / 456.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.3163, allocations: 80.2 kB / 456.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.3164, allocations: 33.58 kB / 456.4 MB, free: 9.672 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.0003128/0.3167, allocations: 203.1 kB / 456.6 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3168, allocations: 45.14 kB / 456.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.3183, allocations: 0.7348 MB / 457.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3183, allocations: 7.312 kB / 457.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3183, allocations: 4.688 kB / 457.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.3183, allocations: 6.75 kB / 457.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.3209, allocations: 1.488 MB / 458.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3209, allocations: 0 / 458.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.3214, allocations: 114.8 kB / 459 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000284/0.3217, allocations: 114.6 kB / 459.1 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.3217, allocations: 18.86 kB / 459.1 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/0.3246, allocations: 3.35 MB / 462.4 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3246, allocations: 0 / 462.4 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.3265, allocations: 1.127 MB / 463.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3266, allocations: 129.3 kB / 463.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.3267, allocations: 18.47 kB / 463.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.3271, allocations: 27.78 kB / 463.7 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.3272, allocations: 51.56 kB / 463.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.3272, allocations: 21.5 kB / 463.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.3274, allocations: 190.4 kB / 464 MB, free: 4.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3274, allocations: 4.062 kB / 464 MB, free: 4.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008249/0.3282, allocations: 220.5 kB / 464.2 MB, free: 4.223 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.002204/0.3304, allocations: 1.714 MB / 465.9 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.332, allocations: 0.8495 MB / 466.8 MB, free: 2.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.332, allocations: 1.469 kB / 466.8 MB, free: 2.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007867/0.3328, allocations: 0.5356 MB / 467.3 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.3332, allocations: 44.58 kB / 467.4 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/0.34, allocations: 4.744 MB / 472.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.3405, allocations: 0.8659 MB / 473 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002965/0.3408, allocations: 84.69 kB / 473.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.3411, allocations: 198.3 kB / 473.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3411, allocations: 0 / 473.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.8/4.141, allocations: 10.93 MB / 484.2 MB, free: 5.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/18.69, allocations: 25.47 kB / 484.2 MB, free: 5.676 MB / 382.1 MB " [Timeout remaining time 641] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 21.145688680000603]