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.001146/0.001146, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001248/0.001248, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.867/0.867, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.282e-06/1.282e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.616e-05, allocations: 3.125 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003342/0.003359, allocations: 3.933 MB / 328.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.005331, allocations: 1.631 MB / 330.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.005524, allocations: 12 kB / 330.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.006751, allocations: 0.9874 MB / 331.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.007191, allocations: 274 kB / 331.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.008346, allocations: 0.7306 MB / 332.1 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.008828, allocations: 0.6683 MB / 332.8 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.009377, allocations: 457.3 kB / 333.2 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.009856, allocations: 411 kB / 333.6 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.0101, allocations: 267.3 kB / 333.9 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.01016, allocations: 56 kB / 333.9 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.01055, allocations: 283.5 kB / 334.2 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.01062, allocations: 139.4 kB / 334.3 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.01076, allocations: 227.4 kB / 334.6 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007797/0.01154, allocations: 1.008 MB / 335.6 MB, free: 4.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01155, allocations: 4 kB / 335.6 MB, free: 4.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01155, allocations: 0 / 335.6 MB, free: 4.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.01156, allocations: 0 / 335.6 MB, free: 4.809 MB / 298.7 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.002107/0.01366, allocations: 1.199 MB / 336.8 MB, free: 3.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.0137, allocations: 11.98 kB / 336.8 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.147e-05/0.01379, allocations: 126.8 kB / 336.9 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007355/0.01453, allocations: 196.4 kB / 337.1 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.01466, allocations: 184.9 kB / 337.3 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.0147, allocations: 58.38 kB / 337.3 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-05/0.01479, allocations: 76.36 kB / 337.4 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008495/0.01563, allocations: 0.7916 MB / 338.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.01566, allocations: 8.141 kB / 338.2 MB, free: 2.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.0157, allocations: 32.12 kB / 338.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01571, allocations: 23.94 kB / 338.3 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000903/0.01661, allocations: 0.661 MB / 338.9 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.01897, allocations: 2.286 MB / 341.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.02003, allocations: 0.8117 MB / 342 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/0.02063, allocations: 287.5 kB / 342.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.0207, allocations: 28.92 kB / 342.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.02072, allocations: 43.16 kB / 342.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.014e-06/0.02072, allocations: 224 / 342.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001444/0.02216, allocations: 0.9832 MB / 343.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.02221, allocations: 119.3 kB / 343.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.02241, allocations: 289.7 kB / 343.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.02244, allocations: 37.7 kB / 343.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.02255, allocations: 304.3 kB / 344.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.02267, allocations: 245.9 kB / 344.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.02279, allocations: 138.6 kB / 344.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.02289, allocations: 354.7 kB / 344.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.02318, allocations: 233.9 kB / 345 MB, free: 11.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.02357, allocations: 408 kB / 345.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006978/0.02426, allocations: 0.6337 MB / 346.1 MB, free: 9.891 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.02427, allocations: 4 kB / 346.1 MB, free: 9.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009865/0.02525, allocations: 0.8307 MB / 346.9 MB, free: 9.047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.02527, allocations: 8 kB / 346.9 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.02528, allocations: 7.938 kB / 346.9 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002729/0.02555, allocations: 129.7 kB / 347 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.02588, allocations: 159.8 kB / 347.2 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.02816, allocations: 3.566 MB / 350.8 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.02841, allocations: 83.44 kB / 350.8 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.02844, allocations: 31.98 kB / 350.9 MB, free: 4.84 MB / 314.7 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.0001644/0.02861, allocations: 193.8 kB / 351.1 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.02867, allocations: 47.72 kB / 351.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008669/0.02953, allocations: 0.7374 MB / 351.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.02954, allocations: 8 kB / 351.9 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.02954, allocations: 8 kB / 351.9 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.02955, allocations: 3.984 kB / 351.9 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.031, allocations: 1.375 MB / 353.2 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.03101, allocations: 7.984 kB / 353.3 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.03125, allocations: 111.9 kB / 353.4 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.03142, allocations: 105.6 kB / 353.5 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.03145, allocations: 15.94 kB / 353.5 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.0334, allocations: 3.119 MB / 356.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.0334, allocations: 4.125 kB / 356.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.03456, allocations: 1.125 MB / 357.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.0346, allocations: 55.62 kB / 357.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.03463, allocations: 12 kB / 357.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.03481, allocations: 27.97 kB / 357.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.03489, allocations: 60.48 kB / 357.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.03491, allocations: 20 kB / 357.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.03503, allocations: 193.2 kB / 358.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03503, allocations: 0 / 358.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005012/0.03554, allocations: 219.6 kB / 358.3 MB, free: 13.07 MB / 330.7 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.001475/0.03701, allocations: 1.712 MB / 360 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009442/0.03795, allocations: 0.8527 MB / 360.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.03796, allocations: 320 / 360.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004273/0.03838, allocations: 0.5359 MB / 361.4 MB, free: 9.879 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.03869, allocations: 47.88 kB / 361.5 MB, free: 9.836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.04341, allocations: 4.72 MB / 366.2 MB, free: 4.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.04357, allocations: 269.5 kB / 366.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.04377, allocations: 76.36 kB / 366.5 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.04395, allocations: 200.4 kB / 366.7 MB, free: 4.344 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.04396, allocations: 8 kB / 366.7 MB, free: 4.336 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.0682, allocations: 11.82 MB / 378.5 MB, free: 8.703 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.553, allocations: 3.938 kB / 378.5 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv. Warning: Get data of variable cuboidRight.port_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.265723038464785]