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.001402/0.001402, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001527/0.001527, allocations: 198 kB / 18.07 MB, free: 5.41 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.315/1.315, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001318/0.001318, allocations: 51.92 kB / 280.1 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09172, allocations: 46.62 MB / 326.7 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006033/0.09779, allocations: 5.194 MB / 331.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.1007, allocations: 1.71 MB / 333.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005772/0.1013, allocations: 16 kB / 333.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0029/0.1042, allocations: 1.327 MB / 335 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.1053, allocations: 274.3 kB / 335.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.107, allocations: 0.7828 MB / 336 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.1082, allocations: 0.7702 MB / 336.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.1095, allocations: 0.719 MB / 337.5 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.11, allocations: 326.7 kB / 337.8 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005581/0.1106, allocations: 458.1 kB / 338.3 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1107, allocations: 56 kB / 338.3 MB, free: 9.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005106/0.1112, allocations: 239.8 kB / 338.5 MB, free: 8.879 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1114, allocations: 159.3 kB / 338.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.1117, allocations: 409.9 kB / 339.1 MB, free: 8.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.1127, allocations: 1.156 MB / 340.3 MB, free: 7.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1128, allocations: 0 / 340.3 MB, free: 7.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1128, allocations: 4 kB / 340.3 MB, free: 7.156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1128, allocations: 0 / 340.3 MB, free: 7.156 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.003643/0.1164, allocations: 1.443 MB / 341.7 MB, free: 5.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1165, allocations: 12.03 kB / 341.7 MB, free: 5.648 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.1166, allocations: 148.4 kB / 341.9 MB, free: 5.496 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.1182, allocations: 259.6 kB / 342.1 MB, free: 5.242 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1185, allocations: 263.2 kB / 342.4 MB, free: 4.945 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.1185, allocations: 70.38 kB / 342.4 MB, free: 4.879 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.1187, allocations: 100.3 kB / 342.5 MB, free: 4.781 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.1201, allocations: 0.9499 MB / 343.5 MB, free: 3.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.1201, allocations: 4 kB / 343.5 MB, free: 3.812 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.1202, allocations: 36 kB / 343.5 MB, free: 3.777 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.1202, allocations: 24 kB / 343.6 MB, free: 3.754 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.1215, allocations: 0.7845 MB / 344.3 MB, free: 2.973 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004869/0.1264, allocations: 3.384 MB / 347.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.1282, allocations: 1.253 MB / 349 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004995/0.1287, allocations: 373.2 kB / 349.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.1288, allocations: 106 kB / 349.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1289, allocations: 47.5 kB / 349.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.375e-06/0.1289, allocations: 0 / 349.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002051/0.1309, allocations: 1.3 MB / 350.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.131, allocations: 90.11 kB / 350.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.1314, allocations: 376.3 kB / 351.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.1314, allocations: 33.7 kB / 351.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.1316, allocations: 382.9 kB / 351.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.1318, allocations: 291.8 kB / 351.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.1321, allocations: 174.8 kB / 352.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1322, allocations: 366.7 kB / 352.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.1327, allocations: 262.5 kB / 352.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.1332, allocations: 479.4 kB / 353.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009897/0.1342, allocations: 0.7667 MB / 354 MB, free: 8.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.1343, allocations: 0 / 354 MB, free: 8.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001535/0.1358, allocations: 0.9726 MB / 354.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1358, allocations: 8 kB / 354.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1358, allocations: 4 kB / 354.9 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.1362, allocations: 127.6 kB / 355.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/0.137, allocations: 203.7 kB / 355.3 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/0.1406, allocations: 5.582 MB / 360.8 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.1412, allocations: 102.9 kB / 360.9 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.1413, allocations: 39.98 kB / 361 MB, free: 1.141 MB / 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.0003048/0.1416, allocations: 237.5 kB / 361.2 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1417, allocations: 51.34 kB / 361.3 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.143, allocations: 0.8521 MB / 362.1 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.1431, allocations: 12 kB / 362.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1431, allocations: 7.938 kB / 362.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.1431, allocations: 7.922 kB / 362.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.1456, allocations: 1.928 MB / 364.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1456, allocations: 0 / 364.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.1462, allocations: 143.8 kB / 364.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.1464, allocations: 107.6 kB / 364.3 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.1465, allocations: 20 kB / 364.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.1497, allocations: 5.298 MB / 369.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1498, allocations: 0 / 369.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.1515, allocations: 1.275 MB / 370.9 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.1516, allocations: 148.2 kB / 371.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.1517, allocations: 20 kB / 371.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.1521, allocations: 20 kB / 371.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.1522, allocations: 64.5 kB / 371.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.1522, allocations: 28.06 kB / 371.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.1525, allocations: 255.2 kB / 371.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1525, allocations: 4 kB / 371.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008496/0.1533, allocations: 263.3 kB / 371.7 MB, free: 5.645 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.001945/0.1553, allocations: 1.86 MB / 373.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.1568, allocations: 1.169 MB / 374.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1568, allocations: 0 / 374.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007664/0.1576, allocations: 0.7928 MB / 375.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.1581, allocations: 69.3 kB / 375.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.132/0.2902, allocations: 6.122 MB / 381.7 MB, free: 50.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.2906, allocations: 0.915 MB / 382.6 MB, free: 49.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005196/0.2911, allocations: 105 kB / 382.7 MB, free: 49.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.2914, allocations: 245.2 kB / 383 MB, free: 49.8 MB / 318.1 MB Notification: Performance of SimCode: time 1.343e-06/0.2914, allocations: 3.656 kB / 383 MB, free: 49.8 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09124/0.3826, allocations: 12.13 MB / 395.1 MB, free: 45.88 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.3829, allocations: 256.5 kB / 395.4 MB, free: 45.62 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.575, allocations: 0 / 395.4 MB, free: 45.62 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