Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008898/0.0008898, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005123/0.005123, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8915/0.8915, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.284e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.1315/0.1315, allocations: 3.869 MB / 302.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.1339, allocations: 1.593 MB / 303.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.1341, allocations: 11.66 kB / 303.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.1353, allocations: 0.9966 MB / 304.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.1358, allocations: 264.1 kB / 305.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009836/0.1367, allocations: 0.716 MB / 305.9 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.1372, allocations: 0.6693 MB / 306.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005742/0.1378, allocations: 459 kB / 307 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.1381, allocations: 411.1 kB / 307.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.1385, allocations: 270.7 kB / 307.7 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.856e-05/0.1385, allocations: 60.88 kB / 307.7 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004632/0.139, allocations: 255.7 kB / 308 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.1391, allocations: 141.2 kB / 308.1 MB, free: 11.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.1393, allocations: 225.6 kB / 308.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009075/0.1402, allocations: 0.9917 MB / 309.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1402, allocations: 2 kB / 309.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1402, allocations: 1.031 kB / 309.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1402, allocations: 0 / 309.3 MB, free: 10.77 MB / 282.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.002085/0.1423, allocations: 1.189 MB / 310.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1423, allocations: 13.73 kB / 310.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.717e-05/0.1424, allocations: 120.6 kB / 310.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007308/0.1431, allocations: 212.8 kB / 310.9 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1433, allocations: 184.5 kB / 311 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.1433, allocations: 56.62 kB / 311.1 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.1434, allocations: 72.34 kB / 311.2 MB, free: 9.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.1444, allocations: 0.7961 MB / 312 MB, free: 9.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.1444, allocations: 4.141 kB / 312 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/0.1444, allocations: 36.78 kB / 312 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.1444, allocations: 18.48 kB / 312 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.1454, allocations: 0.6615 MB / 312.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.1478, allocations: 2.268 MB / 315 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.149, allocations: 0.8218 MB / 315.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.1494, allocations: 291.2 kB / 316.1 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/0.1494, allocations: 17.47 kB / 316.1 MB, free: 7.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.1494, allocations: 43.44 kB / 316.1 MB, free: 7.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 2.014e-06/0.1494, allocations: 288 / 316.1 MB, free: 7.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.00168/0.1511, allocations: 0.9811 MB / 317.1 MB, free: 6.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.1512, allocations: 111.1 kB / 317.2 MB, free: 6.664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1514, allocations: 284 kB / 317.5 MB, free: 6.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.1514, allocations: 37.38 kB / 317.5 MB, free: 6.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1515, allocations: 302.5 kB / 317.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/0.1516, allocations: 252.2 kB / 318.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.1518, allocations: 145.9 kB / 318.2 MB, free: 5.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.1518, allocations: 354.7 kB / 318.6 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.1521, allocations: 228.6 kB / 318.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.1525, allocations: 417.6 kB / 319.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006957/0.1532, allocations: 0.6338 MB / 319.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1532, allocations: 1.625 kB / 319.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001103/0.1543, allocations: 0.8217 MB / 320.6 MB, free: 4.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1543, allocations: 6.594 kB / 320.6 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1543, allocations: 7.203 kB / 320.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/0.1546, allocations: 126.6 kB / 320.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.155, allocations: 159.4 kB / 320.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.1566, allocations: 3.567 MB / 324.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.1569, allocations: 93.17 kB / 324.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.1569, allocations: 35 kB / 324.6 MB, free: 1.141 MB / 282.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.0001598/0.1571, allocations: 191.2 kB / 324.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.1572, allocations: 39.77 kB / 324.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009587/0.1581, allocations: 0.7397 MB / 325.6 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.1581, allocations: 12.34 kB / 325.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1581, allocations: 7.719 kB / 325.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1581, allocations: 3.984 kB / 325.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.1597, allocations: 1.372 MB / 327 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1597, allocations: 5.594 kB / 327 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.16, allocations: 113.4 kB / 327.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.1601, allocations: 104.4 kB / 327.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.1602, allocations: 22.61 kB / 327.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.1619, allocations: 3.123 MB / 330.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1619, allocations: 4.062 kB / 330.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.1631, allocations: 1.113 MB / 331.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.1632, allocations: 56.28 kB / 331.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.1632, allocations: 13.91 kB / 331.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.1634, allocations: 27.97 kB / 331.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.1635, allocations: 54.77 kB / 331.6 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1635, allocations: 22.47 kB / 331.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1636, allocations: 196.9 kB / 331.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1636, allocations: 0 / 331.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005789/0.1642, allocations: 219 kB / 332 MB, free: 11.61 MB / 298.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.001529/0.1657, allocations: 1.693 MB / 333.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.1668, allocations: 0.8485 MB / 334.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1668, allocations: 3.938 kB / 334.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.1672, allocations: 0.54 MB / 335.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.1676, allocations: 40.44 kB / 335.2 MB, free: 9.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.1722, allocations: 4.761 MB / 339.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.1723, allocations: 257.5 kB / 340.2 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.1726, allocations: 84.36 kB / 340.3 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.1728, allocations: 208.4 kB / 340.5 MB, free: 3.641 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1728, allocations: 0 / 340.5 MB, free: 3.641 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.2024, allocations: 11.6 MB / 352.1 MB, free: 7.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.672, allocations: 15.89 kB / 352.1 MB, free: 7.965 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv. Warning: Get data of variable cuboidRight.port_p.reference.gamma from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.342409734614193]