Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 211.5 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 55.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2409, allocations: 53.36 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005773/0.2467, allocations: 3.934 MB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.25, allocations: 1.615 MB / 436.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.2503, allocations: 12 kB / 436.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.2527, allocations: 0.9528 MB / 437.6 MB, free: 128 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006444/0.2533, allocations: 262.2 kB / 437.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.255, allocations: 0.7308 MB / 438.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.2558, allocations: 0.6261 MB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007915/0.2566, allocations: 475.1 kB / 439.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.257, allocations: 286.9 kB / 440 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.2575, allocations: 354.6 kB / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.158e-05/0.2575, allocations: 56 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006028/0.2581, allocations: 279.8 kB / 440.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.2583, allocations: 147.4 kB / 440.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.2585, allocations: 266.7 kB / 441 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.2597, allocations: 0.9884 MB / 442 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2597, allocations: 3.938 kB / 442 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2597, allocations: 0 / 442 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.2597, allocations: 0 / 442 MB, free: 11.68 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.003592/0.2633, allocations: 1.211 MB / 443.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2633, allocations: 8.031 kB / 443.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.2635, allocations: 122.8 kB / 443.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.2648, allocations: 196.4 kB / 443.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.2651, allocations: 183.4 kB / 443.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.2651, allocations: 54.38 kB / 443.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.2652, allocations: 76.38 kB / 443.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.2667, allocations: 0.795 MB / 444.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.2667, allocations: 11.95 kB / 444.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/0.2668, allocations: 28 kB / 444.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.2668, allocations: 20 kB / 444.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.2681, allocations: 0.661 MB / 445.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/0.2722, allocations: 2.28 MB / 447.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.2742, allocations: 0.8277 MB / 448.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/0.2748, allocations: 295.5 kB / 448.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.2749, allocations: 28.62 kB / 448.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.2749, allocations: 47.22 kB / 448.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.196e-06/0.275, allocations: 0 / 448.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002504/0.2775, allocations: 0.9796 MB / 449.8 MB, free: 3.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.2775, allocations: 111.5 kB / 449.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.2779, allocations: 285.6 kB / 450.2 MB, free: 3.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.2779, allocations: 37.7 kB / 450.3 MB, free: 3.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.2781, allocations: 308.3 kB / 450.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.2784, allocations: 257.8 kB / 450.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.2786, allocations: 138.6 kB / 450.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2787, allocations: 350.7 kB / 451.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.2792, allocations: 233.9 kB / 451.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.2799, allocations: 408 kB / 451.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.281, allocations: 0.6376 MB / 452.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.281, allocations: 4 kB / 452.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001686/0.2827, allocations: 0.8307 MB / 453.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2828, allocations: 4 kB / 453.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2828, allocations: 4 kB / 453.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004227/0.2832, allocations: 129.7 kB / 453.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.2838, allocations: 167.7 kB / 453.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/0.2875, allocations: 3.559 MB / 457.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.288, allocations: 87.44 kB / 457.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.2881, allocations: 31.98 kB / 457.4 MB, free: 11.7 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.0002863/0.2884, allocations: 197.8 kB / 457.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2885, allocations: 43.94 kB / 457.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.29, allocations: 0.7453 MB / 458.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.29, allocations: 7.938 kB / 458.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2901, allocations: 4 kB / 458.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2901, allocations: 7.922 kB / 458.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.2926, allocations: 1.371 MB / 459.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.2926, allocations: 4 kB / 459.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.2931, allocations: 115.8 kB / 459.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.2934, allocations: 105.6 kB / 460 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.2934, allocations: 20 kB / 460 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/0.2964, allocations: 3.119 MB / 463.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2964, allocations: 0 / 463.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.2984, allocations: 1.125 MB / 464.2 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.2985, allocations: 51.61 kB / 464.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/0.2986, allocations: 8 kB / 464.3 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.299, allocations: 35.97 kB / 464.3 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.2991, allocations: 60.53 kB / 464.4 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.2992, allocations: 16 kB / 464.4 MB, free: 4.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.2994, allocations: 193.2 kB / 464.6 MB, free: 4.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2994, allocations: 0 / 464.6 MB, free: 4.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008493/0.3003, allocations: 223.6 kB / 464.8 MB, free: 3.926 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.002517/0.3028, allocations: 1.716 MB / 466.5 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.3044, allocations: 0.8524 MB / 467.4 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3045, allocations: 0 / 467.4 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008528/0.3053, allocations: 0.5359 MB / 467.9 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.3059, allocations: 37.12 kB / 467.9 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0077/0.3136, allocations: 4.753 MB / 472.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.3139, allocations: 265.5 kB / 472.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000312/0.3142, allocations: 80.36 kB / 473 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.3145, allocations: 207.3 kB / 473.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3145, allocations: 0 / 473.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/0.3638, allocations: 11.91 MB / 485.1 MB, free: 15.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.22, allocations: 13.48 kB / 485.1 MB, free: 15.46 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv","/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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cuboidRight.port_p.reference.gamma in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv. Warning: Get data of variable cuboidRight.port_p.reference.gamma from file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.68737699399935]