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.001283/0.001283, allocations: 120.8 kB / 17.79 MB, free: 5.285 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.001259/0.001259, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.392/1.392, allocations: 225.6 MB / 249.1 MB, free: 3.578 MB / 190.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 47.92 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09546/0.09698, allocations: 52.15 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006117/0.1031, allocations: 4.356 MB / 422.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.1062, allocations: 1.654 MB / 423.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002866/0.1065, allocations: 12 kB / 423.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.109, allocations: 1.019 MB / 424.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006355/0.1096, allocations: 254.2 kB / 425.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.1113, allocations: 0.7967 MB / 425.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008377/0.1122, allocations: 0.6491 MB / 426.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007527/0.1129, allocations: 401.4 kB / 426.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.1133, allocations: 270.9 kB / 427.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.1138, allocations: 370.5 kB / 427.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.816e-05/0.1139, allocations: 59.94 kB / 427.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000611/0.1145, allocations: 271.7 kB / 427.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1147, allocations: 135.5 kB / 428 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.115, allocations: 330.3 kB / 428.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.1162, allocations: 0.9573 MB / 429.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1162, allocations: 0 / 429.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1162, allocations: 0 / 429.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.1162, allocations: 4 kB / 429.3 MB, free: 1.035 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.003764/0.12, allocations: 1.275 MB / 430.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.12, allocations: 8.031 kB / 430.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.1202, allocations: 118.8 kB / 430.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.1216, allocations: 212.3 kB / 430.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1219, allocations: 243.5 kB / 431.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.122, allocations: 58.38 kB / 431.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.1221, allocations: 80.31 kB / 431.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.1236, allocations: 0.7622 MB / 432 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.1236, allocations: 3.938 kB / 432 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.1237, allocations: 32 kB / 432.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.1237, allocations: 16 kB / 432.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.1251, allocations: 0.6688 MB / 432.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004508/0.1296, allocations: 3.088 MB / 435.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.1322, allocations: 2.013 MB / 437.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/0.1328, allocations: 302 kB / 438.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.133, allocations: 101.7 kB / 438.2 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.133, allocations: 47.22 kB / 438.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.116e-06/0.133, allocations: 0 / 438.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002799/0.1358, allocations: 1.134 MB / 439.4 MB, free: 6.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/0.1359, allocations: 115.4 kB / 439.5 MB, free: 6.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.1363, allocations: 274.5 kB / 439.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.1363, allocations: 37.92 kB / 439.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.1365, allocations: 308.3 kB / 440.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.1368, allocations: 261.7 kB / 440.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.137, allocations: 138.6 kB / 440.5 MB, free: 4.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1372, allocations: 354.7 kB / 440.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.1377, allocations: 229.9 kB / 441.1 MB, free: 4.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/0.1383, allocations: 382.3 kB / 441.5 MB, free: 3.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.1395, allocations: 0.6375 MB / 442.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1395, allocations: 0 / 442.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00168/0.1412, allocations: 0.8346 MB / 442.9 MB, free: 2.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1412, allocations: 6.031 kB / 442.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1412, allocations: 4 kB / 443 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.1416, allocations: 133.7 kB / 443.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.1423, allocations: 159.8 kB / 443.2 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1721/0.3144, allocations: 3.784 MB / 447 MB, free: 28.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.315, allocations: 88.02 kB / 447.1 MB, free: 28.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/0.315, allocations: 31.16 kB / 447.1 MB, free: 28.26 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.0002272/0.3152, allocations: 199.8 kB / 447.3 MB, free: 28.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.3153, allocations: 46.05 kB / 447.4 MB, free: 28.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.3167, allocations: 0.7372 MB / 448.1 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3167, allocations: 10.28 kB / 448.1 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3167, allocations: 3 kB / 448.1 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.3167, allocations: 12.75 kB / 448.1 MB, free: 28.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.3188, allocations: 1.477 MB / 449.6 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3188, allocations: 2.656 kB / 449.6 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.3193, allocations: 112.8 kB / 449.7 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/0.3196, allocations: 110.1 kB / 449.8 MB, free: 27.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.3196, allocations: 22.36 kB / 449.9 MB, free: 27.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.3214, allocations: 3.355 MB / 453.2 MB, free: 25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3214, allocations: 0 / 453.2 MB, free: 25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.3232, allocations: 1.125 MB / 454.3 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.3233, allocations: 122.1 kB / 454.5 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.3234, allocations: 16.22 kB / 454.5 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.3238, allocations: 27.52 kB / 454.5 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.3239, allocations: 53.06 kB / 454.6 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.3239, allocations: 20.06 kB / 454.6 MB, free: 24.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.3241, allocations: 193.6 kB / 454.8 MB, free: 24.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3241, allocations: 1.312 kB / 454.8 MB, free: 24.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008015/0.3249, allocations: 219.1 kB / 455 MB, free: 24.48 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.002082/0.327, allocations: 1.722 MB / 456.7 MB, free: 23.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.3286, allocations: 0.8495 MB / 457.6 MB, free: 22.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3286, allocations: 1.062 kB / 457.6 MB, free: 22.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007071/0.3293, allocations: 0.531 MB / 458.1 MB, free: 22.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.3298, allocations: 41.59 kB / 458.1 MB, free: 22.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006422/0.3362, allocations: 4.772 MB / 462.9 MB, free: 19.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3365, allocations: 0.8643 MB / 463.8 MB, free: 19.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003449/0.3369, allocations: 84.23 kB / 463.8 MB, free: 18.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.3371, allocations: 199.1 kB / 464 MB, free: 18.84 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3371, allocations: 0 / 464 MB, free: 18.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7073/1.044, allocations: 10.82 MB / 474.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.88, allocations: 14.98 kB / 474.9 MB, free: 15.9 MB / 366.1 MB " [Timeout remaining time 648] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.476506064180285]