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.001402/0.001402, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001585/0.001585, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.38/1.38, allocations: 230.6 MB / 254.8 MB, free: 15.09 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 55.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1091, allocations: 53.32 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006734/0.1158, allocations: 4.363 MB / 431.4 MB, free: 420 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2067/0.3225, allocations: 1.728 MB / 433.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.3227, allocations: 12.69 kB / 433.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.3247, allocations: 1.034 MB / 434.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.3253, allocations: 256.3 kB / 434.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.3264, allocations: 0.7714 MB / 435.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004851/0.3269, allocations: 0.6352 MB / 435.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/0.3275, allocations: 404.8 kB / 436.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.3278, allocations: 283 kB / 436.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.3282, allocations: 361.8 kB / 436.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.037e-05/0.3283, allocations: 56.25 kB / 436.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.3288, allocations: 294.9 kB / 437.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.3289, allocations: 137.8 kB / 437.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.3291, allocations: 331.7 kB / 437.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.3303, allocations: 0.9738 MB / 438.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3303, allocations: 0 / 438.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3303, allocations: 0 / 438.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3303, allocations: 0 / 438.6 MB, free: 6.328 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.003549/0.3338, allocations: 1.29 MB / 439.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3339, allocations: 9.656 kB / 439.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.312e-05/0.3339, allocations: 20.81 kB / 439.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.334, allocations: 121.7 kB / 440.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.3354, allocations: 200.6 kB / 440.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.3356, allocations: 239.6 kB / 440.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.3356, allocations: 56.83 kB / 440.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.3357, allocations: 73.25 kB / 440.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.337, allocations: 0.7744 MB / 441.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.337, allocations: 5.516 kB / 441.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.3371, allocations: 33.94 kB / 441.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.3371, allocations: 17.81 kB / 441.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.3384, allocations: 0.664 MB / 442.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.3422, allocations: 3.265 MB / 445.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.3442, allocations: 2.009 MB / 447.4 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/0.3448, allocations: 298.9 kB / 447.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.3449, allocations: 184.1 kB / 447.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.3449, allocations: 47.94 kB / 447.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.034e-06/0.3449, allocations: 5.312 kB / 447.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.00264/0.3476, allocations: 1.132 MB / 449 MB, free: 15.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.3477, allocations: 116.1 kB / 449.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.348, allocations: 278.9 kB / 449.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.348, allocations: 36.33 kB / 449.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.3482, allocations: 299 kB / 449.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.3484, allocations: 261.4 kB / 450 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.3486, allocations: 137.6 kB / 450.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3488, allocations: 352.3 kB / 450.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.3493, allocations: 233 kB / 450.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.3499, allocations: 383.2 kB / 451.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3511, allocations: 0.6389 MB / 451.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3511, allocations: 2.125 kB / 451.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001636/0.3527, allocations: 0.8363 MB / 452.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3527, allocations: 7.953 kB / 452.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3527, allocations: 2.875 kB / 452.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004342/0.3532, allocations: 127 kB / 452.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.3538, allocations: 158.9 kB / 452.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/0.3573, allocations: 3.793 MB / 456.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.3578, allocations: 85.83 kB / 456.7 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.3579, allocations: 33.58 kB / 456.8 MB, free: 9.543 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.0002871/0.3582, allocations: 199.1 kB / 457 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3583, allocations: 45.09 kB / 457 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.3599, allocations: 0.739 MB / 457.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3599, allocations: 8.25 kB / 457.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3599, allocations: 2.094 kB / 457.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.3599, allocations: 13.05 kB / 457.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.3626, allocations: 1.488 MB / 459.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3626, allocations: 0.8438 kB / 459.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.3631, allocations: 110.1 kB / 459.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003078/0.3634, allocations: 119.8 kB / 459.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.3634, allocations: 15.33 kB / 459.5 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/0.3663, allocations: 3.345 MB / 462.8 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3663, allocations: 1.766 kB / 462.8 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.3684, allocations: 1.122 MB / 464 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.3685, allocations: 132 kB / 464.1 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.3686, allocations: 11.28 kB / 464.1 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.369, allocations: 37.78 kB / 464.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.3691, allocations: 52.53 kB / 464.2 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.3691, allocations: 17.12 kB / 464.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.3694, allocations: 196.6 kB / 464.4 MB, free: 4.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3694, allocations: 0 / 464.4 MB, free: 4.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009622/0.3703, allocations: 217.5 kB / 464.6 MB, free: 4.098 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.002496/0.3728, allocations: 1.722 MB / 466.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001801/0.3746, allocations: 0.8422 MB / 467.2 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3746, allocations: 0 / 467.2 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008714/0.3755, allocations: 0.5411 MB / 467.7 MB, free: 2.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.376, allocations: 36.25 kB / 467.7 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007546/0.3836, allocations: 4.761 MB / 472.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.3841, allocations: 0.8633 MB / 473.4 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003079/0.3844, allocations: 80.56 kB / 473.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.3847, allocations: 201.8 kB / 473.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3847, allocations: 0 / 473.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04095/0.4257, allocations: 10.97 MB / 484.6 MB, free: 5.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.24, allocations: 7.922 kB / 484.6 MB, free: 5.52 MB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.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_4.1.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.535639840993099]