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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 187.8 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 47.92 kB / 371.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2298, allocations: 52.18 MB / 423.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006113/0.2359, allocations: 4.38 MB / 427.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.2389, allocations: 1.666 MB / 429.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.2393, allocations: 12 kB / 429.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.2418, allocations: 1.03 MB / 430.5 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008447/0.2427, allocations: 250.2 kB / 430.7 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.2444, allocations: 0.8093 MB / 431.6 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008725/0.2453, allocations: 0.6452 MB / 432.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007445/0.2461, allocations: 466.6 kB / 432.7 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.2464, allocations: 282.9 kB / 432.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004482/0.2469, allocations: 358.6 kB / 433.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.012e-05/0.247, allocations: 56 kB / 433.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.2475, allocations: 275.7 kB / 433.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.2477, allocations: 143.5 kB / 433.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.2479, allocations: 322.3 kB / 434.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.2491, allocations: 0.9609 MB / 435 MB, free: 3.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.2491, allocations: 4 kB / 435 MB, free: 3.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2491, allocations: 0 / 435 MB, free: 3.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.2491, allocations: 0 / 435 MB, free: 3.094 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.003692/0.2528, allocations: 1.203 MB / 436.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2528, allocations: 12.03 kB / 436.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.921e-05/0.2529, allocations: 18.19 kB / 436.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.253, allocations: 118.8 kB / 436.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.2543, allocations: 212.3 kB / 436.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.2546, allocations: 185.6 kB / 436.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.2546, allocations: 54.38 kB / 436.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.2547, allocations: 80.33 kB / 436.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.2561, allocations: 0.7659 MB / 437.7 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.2561, allocations: 0 / 437.7 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/0.2562, allocations: 32 kB / 437.7 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.2562, allocations: 19.98 kB / 437.7 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.2576, allocations: 0.6727 MB / 438.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.2619, allocations: 2.845 MB / 441.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.2638, allocations: 0.8123 MB / 442 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000636/0.2644, allocations: 295.5 kB / 442.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.069e-05/0.2645, allocations: 20.62 kB / 442.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.2645, allocations: 43.5 kB / 442.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.885e-06/0.2645, allocations: 4 kB / 442.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002619/0.2672, allocations: 0.9792 MB / 443.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.2672, allocations: 115.4 kB / 443.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.2675, allocations: 281.8 kB / 443.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.2676, allocations: 37.7 kB / 443.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.2678, allocations: 300.4 kB / 444.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.268, allocations: 265.7 kB / 444.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.2682, allocations: 134.6 kB / 444.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2684, allocations: 350.7 kB / 444.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.2689, allocations: 233.8 kB / 445.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.2695, allocations: 386.3 kB / 445.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.2707, allocations: 0.6337 MB / 446.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2707, allocations: 0 / 446.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001662/0.2723, allocations: 0.8308 MB / 446.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2724, allocations: 11.44 kB / 446.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2724, allocations: 4 kB / 446.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004049/0.2728, allocations: 125.7 kB / 447 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/0.2734, allocations: 159.7 kB / 447.2 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.2768, allocations: 3.587 MB / 450.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.2774, allocations: 95.44 kB / 450.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.2774, allocations: 28 kB / 450.9 MB, free: 2.484 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.000284/0.2777, allocations: 203.7 kB / 451.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2778, allocations: 39.77 kB / 451.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.2794, allocations: 0.7336 MB / 451.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2794, allocations: 8 kB / 451.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.2794, allocations: 4 kB / 451.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.2794, allocations: 7.922 kB / 451.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.2819, allocations: 1.457 MB / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.282, allocations: 0 / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.2825, allocations: 111.9 kB / 453.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002953/0.2827, allocations: 113.6 kB / 453.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.2828, allocations: 15.98 kB / 453.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.2856, allocations: 3.154 MB / 456.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2856, allocations: 3.938 kB / 456.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.2876, allocations: 1.121 MB / 457.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.2877, allocations: 51.53 kB / 457.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.2878, allocations: 12 kB / 457.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.2882, allocations: 31.97 kB / 458 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.2883, allocations: 56.48 kB / 458 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.2884, allocations: 20 kB / 458 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.2886, allocations: 197.1 kB / 458.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2886, allocations: 4.062 kB / 458.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008003/0.2894, allocations: 215.6 kB / 458.4 MB, free: 10.61 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.002435/0.2918, allocations: 1.704 MB / 460.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.2935, allocations: 0.8489 MB / 461 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2935, allocations: 256 / 461 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008352/0.2943, allocations: 0.536 MB / 461.5 MB, free: 7.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.2948, allocations: 36.5 kB / 461.6 MB, free: 7.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007445/0.3023, allocations: 4.783 MB / 466.3 MB, free: 2.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.3028, allocations: 0.8655 MB / 467.2 MB, free: 1.523 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003351/0.3031, allocations: 84.34 kB / 467.3 MB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.3034, allocations: 199.4 kB / 467.5 MB, free: 1.242 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3034, allocations: 0 / 467.5 MB, free: 1.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03981/0.3432, allocations: 11.36 MB / 478.9 MB, free: 6.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.39, allocations: 0 / 478.9 MB, free: 6.039 MB / 382.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.755836185009684]