Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.GeneralLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",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.0009454/0.0009455, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0009341/0.0009346, allocations: 184.2 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002845, allocations: 8 kB / 301.5 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1233, allocations: 50.42 MB / 352 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003874/0.1272, allocations: 2.479 MB / 354.4 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.1296, allocations: 1.129 MB / 355.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.1299, allocations: 4 kB / 355.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.1305, allocations: 123.5 kB / 355.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.131, allocations: 111.3 kB / 355.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.1323, allocations: 0.6436 MB / 356.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.1327, allocations: 286.6 kB / 356.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.1337, allocations: 0.5733 MB / 357.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1339, allocations: 103.6 kB / 357.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.1341, allocations: 151.3 kB / 357.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.1342, allocations: 15.98 kB / 357.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.1345, allocations: 159.9 kB / 357.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.1346, allocations: 55.77 kB / 357.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1347, allocations: 156.9 kB / 357.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.1353, allocations: 478.6 kB / 358.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1353, allocations: 0 / 358.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1353, allocations: 0 / 358.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1353, allocations: 0 / 358.4 MB, free: 12.86 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001467/0.1368, allocations: 0.6709 MB / 359.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1368, allocations: 8.031 kB / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.066e-05/0.1369, allocations: 70.72 kB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/0.1377, allocations: 124.5 kB / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.138, allocations: 256.6 kB / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1381, allocations: 25.03 kB / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.1381, allocations: 47.97 kB / 359.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.1387, allocations: 333 kB / 359.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.1387, allocations: 0 / 359.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.1387, allocations: 16 kB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1387, allocations: 8 kB / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.1391, allocations: 238.5 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.141, allocations: 1.447 MB / 361.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.1417, allocations: 0.6965 MB / 362.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.1419, allocations: 108.7 kB / 362.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.796e-05/0.142, allocations: 81.11 kB / 362.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.142, allocations: 42.56 kB / 362.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.142, allocations: 0 / 362.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001198/0.1432, allocations: 495.4 kB / 363 MB, free: 7.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1433, allocations: 63.39 kB / 363.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1435, allocations: 172.2 kB / 363.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.383e-05/0.1435, allocations: 33.7 kB / 363.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1436, allocations: 175.9 kB / 363.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.1437, allocations: 94.67 kB / 363.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.1438, allocations: 29.7 kB / 363.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1439, allocations: 326.8 kB / 363.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.144, allocations: 64.53 kB / 364 MB, free: 6.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.1442, allocations: 141 kB / 364.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.1445, allocations: 220 kB / 364.3 MB, free: 6.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1445, allocations: 0 / 364.3 MB, free: 6.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005424/0.145, allocations: 328.5 kB / 364.6 MB, free: 6.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.145, allocations: 4.219 kB / 364.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1451, allocations: 8 kB / 364.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/0.1454, allocations: 72.8 kB / 364.7 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1455, allocations: 47.92 kB / 364.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.1474, allocations: 1.835 MB / 366.6 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.1475, allocations: 31.78 kB / 366.6 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.1476, allocations: 12 kB / 366.6 MB, free: 3.941 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.1477, allocations: 145.8 kB / 366.8 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.1478, allocations: 15.81 kB / 366.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.1483, allocations: 282.2 kB / 367.1 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1483, allocations: 4 kB / 367.1 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1483, allocations: 7.984 kB / 367.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1483, allocations: 0 / 367.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009155/0.1493, allocations: 0.6939 MB / 367.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1493, allocations: 0 / 367.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1494, allocations: 23.94 kB / 367.8 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000222/0.1496, allocations: 76.8 kB / 367.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1496, allocations: 4 kB / 367.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.1513, allocations: 1.835 MB / 369.7 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1514, allocations: 0 / 369.7 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.152, allocations: 447.5 kB / 370.2 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.891e-05/0.1521, allocations: 120.8 kB / 370.3 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1521, allocations: 4 kB / 370.3 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1522, allocations: 16.06 kB / 370.3 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.1523, allocations: 15.98 kB / 370.3 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1523, allocations: 4 kB / 370.3 MB, free: 20 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1738/0.3261, allocations: 127.7 kB / 370.4 MB, free: 24.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.71e-07/0.3261, allocations: 0.7188 kB / 370.4 MB, free: 24.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000762/0.3269, allocations: 99.22 kB / 370.5 MB, free: 24.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.328, allocations: 0.9984 MB / 371.5 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007603/0.3288, allocations: 355.6 kB / 371.9 MB, free: 23.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3288, allocations: 2.469 kB / 371.9 MB, free: 23.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.3292, allocations: 243.4 kB / 372.1 MB, free: 23.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3296, allocations: 19.81 kB / 372.1 MB, free: 23.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.3328, allocations: 2.665 MB / 374.8 MB, free: 21.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.333, allocations: 0.7569 MB / 375.6 MB, free: 21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.3331, allocations: 22.27 kB / 375.6 MB, free: 20.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3333, allocations: 72.64 kB / 375.7 MB, free: 20.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3333, allocations: 0 / 375.7 MB, free: 20.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.3508, allocations: 4.637 MB / 380.3 MB, free: 20.61 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.351, allocations: 257.3 kB / 380.5 MB, free: 20.35 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.295, allocations: 2.656 kB / 380.5 MB, free: 20.35 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches