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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 114.2 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 189.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 224 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 52.25 kB / 280.3 MB, free: 3.379 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1161, allocations: 46.62 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006182/0.1223, allocations: 5.191 MB / 332.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.1254, allocations: 1.698 MB / 333.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003042/0.1258, allocations: 16 kB / 333.8 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.1287, allocations: 1.331 MB / 335.1 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009502/0.1296, allocations: 274.3 kB / 335.4 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.1312, allocations: 0.7555 MB / 336.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.1323, allocations: 0.8092 MB / 337 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.1336, allocations: 0.8744 MB / 337.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004414/0.134, allocations: 358.7 kB / 338.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004934/0.1345, allocations: 470.1 kB / 338.6 MB, free: 8.871 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.524e-05/0.1347, allocations: 72 kB / 338.7 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006282/0.1353, allocations: 263.7 kB / 339 MB, free: 8.543 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.1355, allocations: 175.4 kB / 339.1 MB, free: 8.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.1359, allocations: 429.9 kB / 339.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.1371, allocations: 1.168 MB / 340.7 MB, free: 6.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1371, allocations: 0 / 340.7 MB, free: 6.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1371, allocations: 0 / 340.7 MB, free: 6.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.1371, allocations: 0 / 340.7 MB, free: 6.777 MB / 286.1 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.003785/0.1409, allocations: 1.447 MB / 342.2 MB, free: 5.277 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.141, allocations: 16.03 kB / 342.2 MB, free: 5.262 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.1411, allocations: 148.4 kB / 342.3 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.1428, allocations: 255.7 kB / 342.6 MB, free: 4.859 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1431, allocations: 255.2 kB / 342.8 MB, free: 4.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.1432, allocations: 74.36 kB / 342.9 MB, free: 4.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.1433, allocations: 104.3 kB / 343 MB, free: 4.398 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.1451, allocations: 0.942 MB / 344 MB, free: 3.441 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/0.1451, allocations: 7.984 kB / 344 MB, free: 3.434 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.1452, allocations: 36 kB / 344 MB, free: 3.398 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.1453, allocations: 28 kB / 344 MB, free: 3.371 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.1466, allocations: 0.777 MB / 344.8 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005589/0.1522, allocations: 3.377 MB / 348.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.1542, allocations: 1.259 MB / 349.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/0.1547, allocations: 369.2 kB / 349.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.1549, allocations: 106 kB / 349.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.1549, allocations: 51.48 kB / 349.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.635e-06/0.1549, allocations: 4 kB / 350 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002261/0.1572, allocations: 1.292 MB / 351.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.1573, allocations: 90.09 kB / 351.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.1578, allocations: 372.2 kB / 351.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.1579, allocations: 33.7 kB / 351.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.1582, allocations: 386.9 kB / 352.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.1585, allocations: 295.7 kB / 352.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.1588, allocations: 170.8 kB / 352.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.159, allocations: 370.7 kB / 352.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.1595, allocations: 262.5 kB / 353.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/0.1602, allocations: 479.4 kB / 353.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.1614, allocations: 0.7706 MB / 354.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.1614, allocations: 8 kB / 354.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001782/0.1632, allocations: 0.9612 MB / 355.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.1633, allocations: 8 kB / 355.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.1633, allocations: 4 kB / 355.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004583/0.1637, allocations: 131.4 kB / 355.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008084/0.1646, allocations: 203.7 kB / 355.7 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005079/0.1697, allocations: 6.126 MB / 361.9 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.1704, allocations: 106.9 kB / 362 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.1705, allocations: 43.98 kB / 362 MB, free: 188 kB / 302.1 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.0004489/0.1709, allocations: 233.5 kB / 362.2 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.1711, allocations: 51.44 kB / 362.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.1727, allocations: 0.852 MB / 363.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.1727, allocations: 8 kB / 363.1 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.1727, allocations: 7.938 kB / 363.1 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.914e-05/0.1728, allocations: 3.984 kB / 363.1 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.1757, allocations: 1.928 MB / 365.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.1758, allocations: 4 kB / 365.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.1763, allocations: 139.8 kB / 365.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003107/0.1766, allocations: 111.4 kB / 365.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.1767, allocations: 23.98 kB / 365.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003887/0.1806, allocations: 5.705 MB / 371.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.1806, allocations: 7.938 kB / 371.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.1824, allocations: 1.272 MB / 372.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.1826, allocations: 136.3 kB / 372.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-05/0.1827, allocations: 23.94 kB / 372.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.1831, allocations: 23.98 kB / 372.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.1832, allocations: 64.52 kB / 372.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.1832, allocations: 20 kB / 372.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003032/0.1835, allocations: 263.2 kB / 372.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1835, allocations: 0 / 372.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001095/0.1846, allocations: 268.3 kB / 373.1 MB, free: 4.254 MB / 318.1 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.002198/0.1868, allocations: 1.852 MB / 375 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.1889, allocations: 1.216 MB / 376.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.189, allocations: 0 / 376.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000864/0.1898, allocations: 0.7886 MB / 377 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.1904, allocations: 77.3 kB / 377 MB, free: 164 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1836/0.374, allocations: 6.125 MB / 383.2 MB, free: 50.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.3745, allocations: 0.9115 MB / 384.1 MB, free: 49.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005394/0.375, allocations: 106.3 kB / 384.2 MB, free: 49.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.3753, allocations: 239.6 kB / 384.4 MB, free: 49.24 MB / 318.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3753, allocations: 0 / 384.4 MB, free: 49.24 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.4091, allocations: 12.47 MB / 396.9 MB, free: 45.02 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.4094, allocations: 253 kB / 397.1 MB, free: 44.76 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.699, allocations: 0 / 397.1 MB, free: 44.76 MB / 318.1 MB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches