Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.0008367/0.0008367, allocations: 83.64 kB / 21.43 MB, free: 3.137 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.005545/0.005545, allocations: 164 kB / 24.7 MB, free: 9.414 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.8739/0.8739, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.693e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1265/0.1266, allocations: 4.653 MB / 303.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1285, allocations: 1.632 MB / 304.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.1287, allocations: 16.94 kB / 304.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.1301, allocations: 1.384 MB / 306.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.1305, allocations: 331.8 kB / 306.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.1312, allocations: 0.6122 MB / 307.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.1317, allocations: 0.8505 MB / 307.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006138/0.1323, allocations: 0.6685 MB / 308.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.1327, allocations: 0.518 MB / 309.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.133, allocations: 360.5 kB / 309.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.133, allocations: 74.47 kB / 309.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.1333, allocations: 242.7 kB / 309.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.1334, allocations: 182.8 kB / 309.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.1336, allocations: 282.6 kB / 310.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008316/0.1344, allocations: 1.215 MB / 311.4 MB, free: 9.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1344, allocations: 0.75 kB / 311.4 MB, free: 9.566 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1344, allocations: 0 / 311.4 MB, free: 9.566 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1344, allocations: 5.125 kB / 311.4 MB, free: 9.562 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001995/0.1364, allocations: 1.379 MB / 312.8 MB, free: 8.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1365, allocations: 12.2 kB / 312.8 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.1366, allocations: 153 kB / 313 MB, free: 8.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008148/0.1374, allocations: 260 kB / 313.2 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1375, allocations: 199.1 kB / 313.4 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.1375, allocations: 74.45 kB / 313.5 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/0.1376, allocations: 100.5 kB / 313.6 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009349/0.1386, allocations: 0.9361 MB / 314.5 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.1386, allocations: 7.5 kB / 314.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.1386, allocations: 45.83 kB / 314.6 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1386, allocations: 23.38 kB / 314.6 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.1395, allocations: 0.7737 MB / 315.4 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.1423, allocations: 2.797 MB / 318.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1433, allocations: 0.8728 MB / 319.1 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.1437, allocations: 324.3 kB / 319.4 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.018e-05/0.1437, allocations: 23.09 kB / 319.4 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.1437, allocations: 44.06 kB / 319.4 MB, free: 5.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 2.274e-06/0.1437, allocations: 5.188 kB / 319.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=87): time 0.001254/0.145, allocations: 0.9903 MB / 320.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.145, allocations: 91.27 kB / 320.5 MB, free: 4.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.1453, allocations: 384.9 kB / 320.9 MB, free: 4.602 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1453, allocations: 41.2 kB / 320.9 MB, free: 4.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1454, allocations: 391.4 kB / 321.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.1455, allocations: 310.3 kB / 321.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.1457, allocations: 168.5 kB / 321.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.1457, allocations: 363.1 kB / 322.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.1461, allocations: 267.2 kB / 322.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.1464, allocations: 482.8 kB / 322.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.1472, allocations: 0.7614 MB / 323.6 MB, free: 2.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.1472, allocations: 5.781 kB / 323.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001076/0.1482, allocations: 0.9804 MB / 324.6 MB, free: 2.031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1483, allocations: 15.25 kB / 324.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1483, allocations: 6.547 kB / 324.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.1485, allocations: 119.8 kB / 324.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.1489, allocations: 211.9 kB / 325 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.1514, allocations: 5.688 MB / 330.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.1517, allocations: 103.9 kB / 330.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.1517, allocations: 46.39 kB / 330.8 MB, free: 12.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.1519, allocations: 224.3 kB / 331 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.152, allocations: 56.67 kB / 331.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009193/0.1529, allocations: 0.8449 MB / 331.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1529, allocations: 6.156 kB / 331.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1529, allocations: 3 kB / 331.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1529, allocations: 10.77 kB / 331.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.1548, allocations: 1.654 MB / 333.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1548, allocations: 1.375 kB / 333.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.1551, allocations: 137.7 kB / 333.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001667/0.1552, allocations: 105.2 kB / 333.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.1552, allocations: 24.23 kB / 333.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.1577, allocations: 5.27 MB / 339.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1577, allocations: 5.484 kB / 339.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.1588, allocations: 1.261 MB / 340.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.1589, allocations: 71.7 kB / 340.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.1589, allocations: 24 kB / 340.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.1591, allocations: 20 kB / 340.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.1592, allocations: 72.41 kB / 340.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.1592, allocations: 24 kB / 340.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.1594, allocations: 255.2 kB / 340.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1594, allocations: 0 / 340.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005561/0.16, allocations: 259.6 kB / 341.1 MB, free: 2.715 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001519/0.1615, allocations: 1.86 MB / 343 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009839/0.1625, allocations: 1.123 MB / 344.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1625, allocations: 4.125 kB / 344.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.1629, allocations: 0.76 MB / 344.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006224/0.1636, allocations: 66.92 kB / 344.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004958/0.1685, allocations: 5.686 MB / 350.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.1687, allocations: 318.4 kB / 350.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002671/0.169, allocations: 101.1 kB / 351 MB, free: 8.293 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.1692, allocations: 248.4 kB / 351.3 MB, free: 8.051 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1692, allocations: 0 / 351.3 MB, free: 8.051 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.2011, allocations: 13.74 MB / 365 MB, free: 10.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.802, allocations: 8.047 kB / 365 MB, free: 10.25 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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: 9.386156427673995]